Datadog-Fastly Integration

Fastly Graph

Overview

Connect to Fastly to see key Fastly metrics (like cache coverage and header size) in context with the rest of your Datadog metrics.

Setup

Installation

No installation steps required.

Configuration

Create a Read-only access API Token on Fastly’s token management page, get your Service ID from the Dashboard and enter them in the Fastly integration tile.

The ServiceID is the alphanumerical code, e.g. 5VqE6MOOy1QFJbgmCK41pY (example from here).

If using multiple Service IDs from one account, please enter an API token on each line.

Data Collected

Metrics

fastly.attack_synth
(gauge)

shown as
fastly.bandwidth
(gauge)
Bandwidth sent.
shown as byte
fastly.body_size
(gauge)
Request body bandwidth sent.
shown as byte
fastly.errors
(gauge)
Number of Errors.
shown as request
fastly.header_size
(gauge)
Request header bandwidth sent.
shown as byte
fastly.hit_ratio
(gauge)
Ratio of cache hits to cache misses.
shown as percent
fastly.hits
(gauge)
Number of cache hits.
shown as request
fastly.hits_time
(gauge)
Amount of time spent processing cache hits.
shown as millisecond
fastly.miss
(gauge)
Number of cache misses.
shown as request
fastly.miss_time
(gauge)
Amount of time spent processing cache misses.
shown as millisecond
fastly.pass
(gauge)
Number of requests passed through the CDN without being cached.
shown as request
fastly.pipe
(gauge)
Number of pipe operations performed.
shown as operation
fastly.requests
(gauge)
Number of Requests Processed.
shown as request
fastly.status_1xx
(gauge)
Number of responses sent with an Informational status code.
shown as response
fastly.status_200
(gauge)
Number of responses sent with status code 200 (Success).
shown as response
fastly.status_204
(gauge)
Number of responses sent with status code 204 (No Content).
shown as response
fastly.status_2xx
(gauge)
Number of responses sent with a Success status code.
shown as response
fastly.status_301
(gauge)
Number of responses sent with status code 301 (Moved Permanently).
shown as response
fastly.status_302
(gauge)
Number of responses sent with status code 302 (Found).
shown as response
fastly.status_304
(gauge)
Number of responses sent with status code 304 (Not Modified).
shown as response
fastly.status_3xx
(gauge)
Number of responses sent with a Redirection status code.
shown as response
fastly.status_4xx
(gauge)
Number of responses sent with a Client Error status code.
shown as response
fastly.status_503
(gauge)
Number of responses sent with status code 503 (Service Unavailable).
shown as response
fastly.status_5xx
(gauge)
Number of responses sent with a Server Error status code.
shown as response
fastly.synth
(gauge)

shown as
fastly.uncacheable
(gauge)
Number of requests that were denoted uncachable.
shown as request
fastly.pci
(gauge)
Number of responses that have the PCI flag turned on
shown as response
fastly.tls
(gauge)
Number of requests that were received over TLS
shown as request
fastly.log
(gauge)
Number of log lines sent
shown as
fastly.ipv6
(gauge)
Number of requests that were received over IPv6
shown as request
fastly.otfp
(gauge)
Number of responses that came from the Fastly On-the-Fly-Packager for On Demand Streaming service for Video-on-Demand
shown as response
fastly.video
(gauge)
Number of responses with video segment or video manifest MIME type
shown as response
fastly.http2
(gauge)
Number of requests that were received over HTTP2
shown as request
fastly.shield
(gauge)
Number of requests from Shield to Origin
shown as request
fastly.imgopto
(gauge)
Number of responses that came from the Fastly Image Optimizer service
shown as response
fastly.blacklist
(gauge)

shown as
fastly.orig_req_body_size
(gauge)
Total body bytes sent to origin
shown as byte
fastly.orig_req_header_size
(gauge)
Total header bytes sent to origin
shown as byte
fastly.orig_resp_body_size
(gauge)
Total body bytes sent from origin
shown as byte
fastly.orig_resp_header_size
(gauge)
Total header bytes sent from origin
shown as byte
fastly.tls_v10
(gauge)
Number of requests received over TLS 1.0
shown as request
fastly.tls_v11
(gauge)
Number of requests received over TLS 1.1
shown as request
fastly.tls_v12
(gauge)
Number of requests received over TLS 1.2
shown as request
fastly.tls_v13
(gauge)
Number of requests received over TLS 1.3
shown as request
fastly.req_body_bytes
(gauge)
Total body bytes received
shown as byte
fastly.req_header_bytes
(gauge)
Total header bytes received
shown as byte
fastly.resp_body_bytes
(gauge)
Total body bytes delivered
shown as byte
fastly.resp_header_bytes
(gauge)
Total header bytes delivered.
shown as byte
fastly.object_size_1k
(gauge)
Number of objects served that were under 1KB in size
shown as object
fastly.object_size_10k
(gauge)
Number of objects served that were between 1KB and 10KB in size
shown as object
fastly.object_size_100k
(gauge)
Number of objects served that were between 10KB and 100KB in size
shown as object
fastly.object_size_1m
(gauge)
Number of objects served that were between 100KB and 1MB in size
shown as object
fastly.object_size_10m
(gauge)
Number of objects served that were between 1MB and 10MB in size
shown as object
fastly.object_size_100m
(gauge)
Number of objects served that were between 10MB and 100MB in size
shown as object
fastly.object_size_1g
(gauge)
Number of objects served that were between 100MB and 1GB in size
shown as object
fastly.pass_time
(gauge)
Amount of time spent processing cache passes
shown as second
fastly.status_400
(gauge)
Number of responses sent with status code 400 (Bad Request)
shown as response
fastly.status_401
(gauge)
Number of responses sent with status code 401 (Unauthorized)
shown as response
fastly.status_403
(gauge)
Number of responses sent with status code 403 (Forbidden)
shown as response
fastly.status_404
(gauge)
Number of responses sent with status code 404 (Not Found)
shown as response
fastly.status_416
(gauge)
Number of responses sent with status code 416 (Range Not Satisfiable)
shown as response
fastly.status_500
(gauge)
Number of responses sent with status code 500 (Internal Server Error)
shown as response
fastly.status_501
(gauge)
Number of responses sent with status code 501 (Not Implemented)
shown as response
fastly.status_502
(gauge)
Number of responses sent with status code 502 (Bad Gateway)
shown as response
fastly.status_504
(gauge)
Number of responses sent with status code 504 (Gateway Timeout)
shown as response
fastly.status_505
(gauge)
Number of responses sent with status code 505 (HTTP Version Not Supported)
shown as response
fastly.restarts
(gauge)
Number of restarts performed
shown as
fastly.shield_resp_body_bytes
(gauge)
Total body bytes delivered via a shield
shown as byte
fastly.shield_resp_header_bytes
(gauge)
Total header bytes delivered via a shield
shown as byte
fastly.otfp_resp_body_bytes
(gauge)
Total body bytes delivered from the Fastly On-the-Fly Packager for On Demand Streaming service for video-on-demand
shown as byte
fastly.otfp_resp_header_bytes
(gauge)
Total header bytes delivered from the Fastly On-the-Fly Packager for On Demand Streaming service for video-on-demand
shown as byte
fastly.otfp_shield_resp_body_bytes
(gauge)
Total body bytes delivered via a shield for the Fastly On-the-Fly Packager for On Demand Streaming service for video-on-demand
shown as byte
fastly.otfp_shield_resp_header_bytes
(gauge)
Total header bytes delivered via a shield for the Fastly On-the-Fly Packager for On Demand Streaming service for video-on-demand
shown as byte
fastly.otfp_manifests
(gauge)
Number of responses that were manifest files from the Fastly On-the-Fly Packager for On Demand Streaming service for video-on-demand
shown as response
fastly.otfp_deliver_time
(gauge)
Total amount of time spent delivering a response from the Fastly On-the-Fly Packager for On Demand Streaming service for video-on-demand
shown as second
fastly.otfp_shield_time
(gauge)
Total amount of time spent delivering a response via a sheild from the Fastly On-the-Fly Packager for On Demand Streaming service for video-on-demand
shown as second
fastly.waf_logged
(gauge)
Number of requests that triggered a WAF rule and were logged
shown as request
fastly.waf_blocked
(gauge)
Number of requests that triggered a WAF rule and were blocked
shown as request
fastly.waf_passed
(gauge)
Number of requests that triggered a WAF rule and were passed
shown as request
fastly.attack_req_body_bytes
(gauge)
Total body bytes received from requests that triggered a WAF rule
shown as byte
fastly.attack_req_header_bytes
(gauge)
Total header bytes received from requests that triggered a WAF rule
shown as byte
fastly.attack_logged_req_body_bytes
(gauge)
Total body bytes received from requests that triggered a WAF rule that was logged
shown as byte
fastly.attack_logged_req_header_bytes
(gauge)
Total header bytes received from requests that triggered a WAF rule that was logged
shown as byte
fastly.attack_blocked_req_body_bytes
(gauge)
Total body bytes received from requests that triggered a WAF rule that was blocked
shown as byte
fastly.attack_blocked_req_header_bytes
(gauge)
Total header bytes received from requests that triggered a WAF rule that was blocked
shown as byte
fastly.attack_passed_req_body_bytes
(gauge)
Total body bytes received from requests that triggered a WAF rule that was passed
shown as byte
fastly.attack_passed_req_header_bytes
(gauge)
Total header bytes received from requests that triggered a WAF rule that was passed
shown as byte
fastly.attack_resp_synth_bytes
(gauge)
Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response
shown as byte
fastly.imgopto_resp_body_bytes
(gauge)
Total body bytes delivered from the Fastly Image Optimizer service
shown as byte
fastly.imgopto_resp_header_bytes
(gauge)
Total header bytes delivered from the Fastly Image Optimizer service
shown as byte
fastly.imgopto_shield_resp_body_bytes
(gauge)
Total body bytes delivered via a shield from the Fastly Image Optimizer service
shown as byte
fastly.imgopto_shield_resp_header_bytes
(gauge)
Total header bytes delivered via a shield from the Fastly Image Optimizer service
shown as byte