An open API service indexing awesome lists of open source software.

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.

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']
```