agent-config.yaml

From wikieduonline
Revision as of 16:43, 25 September 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

 global:
   scrape_interval: 60s
 configs:
 - name: hosted-prometheus
   scrape_configs:
     - job_name: node
       static_configs:
       - targets: ['localhost:9100']
   remote_write:
     - url: https://prometheus-prod-10-prod-us-central-0.grafana.net/api/prom/push
       basic_auth:
         username: 123456
         password: eyJrIjoiODYzZDRhY2YiOiJncmFmYW5hLXByb21ldGhldXMadfaf

username and passwords needs to be gathered from Grafana Cloud


See also

Advertising: