Skip to main content

Akamai

Send data to Last9 from Akamai for CDN monitoring

Introduction

This document lists step-by-step instructions for Akamai CDN monitoring with Last9.

Prerequisites

Create a Last9 cluster by following Getting Started.

Keep the following information handy after creating the cluster:

  • $levitate_remote_write_url - Last9's Remote write endpoint
  • $levitate_remote_write_username - Cluster ID
  • $levitate_remote_write_password - Write token created for the cluster

Setup

Last9 uses the Akamai Reporting API to fetch the relevant metrics and push them to Last9.

Create an Akamai API Client for the relevant reporting APIs and share the following credentials with the Last9 team.

tip

The complete list of available reports can be found here.

  • host
  • client_token
  • client_secret
  • access_token

The data flow is as follows.

Akamai Metrics to Last9

CP Codes

Content Provider codes (CP codes) identify your traffic on the ​Akamai​ network for reporting, billing, and monitoring purposes. The Last9 Akamai integration needs access to the CP Codes from your account to map the metrics underlying the CP Code correctly. Please share the CP Codes in the following CSV format.

Network(ESSL/FF),CPCode,Expected peak hits/s for the CPCode,List of hostnames,Path
ESSL,1395076,65000,playback-content.mystreamingservice.com,/stream/v1/users

Standard Akamai Metrics

This integration collects following standard metrics from Akamai for given CP codes.

  • edgeHits
  • hitsOffload
  • originHits
  • bytesOffload
  • edgeBytes
  • midgressBytes
  • originBytes
  • edgeHitsTotal
  • originHitsTotal
  • hitsOffload
  • bytesOffload
  • edgeBytesTotal
  • midgressBytesTotal
  • originBytesTotal
tip

The Akamai reporting API reports metrics at 5-minute intervals.

Next steps

Once the credentials are shared with the Last9 team, the Akamai connector will be enabled for your account. Moreover, metrics will start flowing into your Last9 cluster.

Troubleshooting

Please get in touch with us on Discord or Email if you have any questions.