Skip to content

Commit

Permalink
Create prometheus.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
githubofkrishnadhas authored Aug 6, 2023
1 parent 659a680 commit 29debaa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions prometheus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
global:
scrape_interval: 1m

scrape_configs:
- job_name: 'prometheus'
scrape_interval: 1m
static_configs:
- targets: ['localhost:9090']

- job_name: 'node'
static_configs:
- targets: ['node-exporter:9100']

remote_write:
- url: 'https://prometheus-prod-13-prod-us-east-0.grafana.net/api/prom/push'
basic_auth:
username: '1131264'
password: '<Your Grafana API key>'

0 comments on commit 29debaa

Please sign in to comment.