https://github.com/bluetel/fastly_exporter
A Prometheus Exporter for grabbing metrics from Fastly. This runs as a Lambda function via the Serverless framework.
https://github.com/bluetel/fastly_exporter
prometheus-exporter serverless
Last synced: 8 months ago
JSON representation
A Prometheus Exporter for grabbing metrics from Fastly. This runs as a Lambda function via the Serverless framework.
- Host: GitHub
- URL: https://github.com/bluetel/fastly_exporter
- Owner: bluetel
- Created: 2018-01-02T17:36:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-02T23:42:09.000Z (about 8 years ago)
- Last Synced: 2025-04-04T13:29:18.449Z (12 months ago)
- Topics: prometheus-exporter, serverless
- Language: JavaScript
- Size: 24.4 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fastly Exporter
A Prometheus Exporter for grabbing metrics from Fastly. This runs as a Lambda function.
This relies upon the Fastly real-time API and collects aggregate metrics (not based on any specific POP) for the last 120 seconds. Prometheus should be set up to scrape accordingly.
# Deploying with Serverless
```
$ yarn
$ export FASTLY_TOKEN=
$ export FASTLY_SERVICE=
$ serverless deploy --aws-profile --stage
```
## Prometheus Exporter Configuration
```
- job_name: fastly
scrape_interval: 120s
scrape_timeout: 30s
scheme: https
metrics_path: //metrics
static_configs:
- targets: ['.execute-api.eu-west-1.amazonaws.com:443']
```