Skip to content

Instantly share code, notes, and snippets.

@DazWilkin
Created January 4, 2018 23:40
Show Gist options
  • Save DazWilkin/7c4fe7383e3da6a6abb515bd8e426aae to your computer and use it in GitHub Desktop.
Save DazWilkin/7c4fe7383e3da6a6abb515bd8e426aae to your computer and use it in GitHub Desktop.
Cloud Functions Prometheus Exporter
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'particles'
scheme: https
scrape_interval: 5m
static_configs:
- targets: ['us-central1-{{YOUR-PROJECT-ID}}.cloudfunctions.net:443']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment