/fastly-exporter

A Prometheus exporter for the Fastly Real-time Analytics API

Primary LanguageGoApache License 2.0Apache-2.0

fastly-exporter Latest Release

This program consumes from the Fastly Real-time Analytics API and makes the data available to Prometheus.

Getting

Go to the releases page, or, if you have a working Go installation, you can install the latest revision from HEAD.

go get github.com/peterbourgon/fastly-exporter

Using

USAGE
  fastly-exporter [flags]

FLAGS
  -debug false                             log debug information
  -endpoint http://127.0.0.1:8080/metrics  Prometheus /metrics endpoint
  -namespace ...                           Prometheus namespace
  -service ...                             Fastly service ID (repeatable)
  -subsystem ...                           Prometheus subsystem
  -token ...                               Fastly API token

VERSION
  1.0.0

A valid API -token and at least one -service ID are mandatory. Your service ID is available at the top of your Fastly dashboard. See this link for information on creating API tokens.