Skip to content
Snippets Groups Projects
Commit bbe77cad authored by Hannes Feldt's avatar Hannes Feldt Committed by Corné Lukken
Browse files

L2SS-1715: Replicate prometheus metrics to central metric storage

parent 49cc5161
No related branches found
No related tags found
1 merge request!854L2SS-1715: Replicate prometheus metrics to central metric storage
...@@ -259,7 +259,15 @@ localhost:5432:grafana:postgres:password ...@@ -259,7 +259,15 @@ localhost:5432:grafana:postgres:password
evaluation_interval: 10s evaluation_interval: 10s
scrape_interval: 10s scrape_interval: 10s
scrape_timeout: 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: scrape_configs:
- job_name: 'consul' - job_name: 'consul'
metrics_path: '/v1/agent/metrics' 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