Skip to content

Commit

Permalink
PMM-1773 Add Grafana metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored and delgod committed Jan 5, 2018
1 parent 4e13a00 commit ec2074a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global:
scrape_interval: 1s
scrape_timeout: 1s
evaluation_interval: 5s

scrape_configs:
- job_name: prometheus
metrics_path: /prometheus/metrics
Expand All @@ -12,6 +12,15 @@ scrape_configs:
instance: prometheus


- job_name: grafana
scrape_interval: 5s
scrape_timeout: 4s
static_configs:
- targets: ['localhost:3000']
labels:
instance: pmm-server


- job_name: linux
basic_auth:
username: ENV_SERVER_USER
Expand Down

0 comments on commit ec2074a

Please sign in to comment.