Skip to content
Snippets Groups Projects
Commit 084dfbe4 authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'L2SS-1715-replicate_prometheus_metrics' into 'master'

L2SS-1715: Replicate prometheus metrics to central metric storage

Closes L2SS-1715

See merge request !854
parents fea5a9f8 bbe77cad
No related branches found
No related tags found
1 merge request!854L2SS-1715: Replicate prometheus metrics to central metric storage
......@@ -226,7 +226,15 @@ postgres.service.consul:5432:grafana:postgres:password
evaluation_interval: 10s
scrape_interval: 10s
scrape_timeout: 10s
[[ if ne .station "dev" ]]
remote_write:
- url: http://monitor.control.lofar:9009/api/v1/push
write_relabel_configs:
- target_label: host
replacement: [[.station]]
headers:
"X-Scope-OrgID": lofar
[[ end ]]
scrape_configs:
- job_name: 'consul'
metrics_path: '/v1/agent/metrics'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment