Skip to content

Instantly share code, notes, and snippets.

@ejhsu
Last active January 5, 2019 14:19
Show Gist options
  • Save ejhsu/ed743393e76ebcd0761f7d614eda2cfc to your computer and use it in GitHub Desktop.
Save ejhsu/ed743393e76ebcd0761f7d614eda2cfc to your computer and use it in GitHub Desktop.
scrape_configs:
- job_name: 'prometheus'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- job_name: 'api-server'
scrape_interval: 5s # for demo purpose
static_configs:
- targets: ['host.docker.internal:9453']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment