Skip to content

Instantly share code, notes, and snippets.

@niftynei
Created September 24, 2019 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niftynei/8b186b086f918605532f7f93a9c007d3 to your computer and use it in GitHub Desktop.
Save niftynei/8b186b086f918605532f7f93a9c007d3 to your computer and use it in GitHub Desktop.
Prometheus config
global:
  evaluation_interval: 15s
  scrape_interval: 15s
rule_files:
  - /config/alerts.yaml
alerting:
  alertmanagers:
  - scheme: http
    static_configs:
    - targets:
      - "localhost:9093"
scrape_configs:
  - job_name: lightningd
    scrape_interval: 5s
    static_configs:
      - targets:
        - "localhost:9900"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment