feat(cherry/kube-prometheus-stack): federate data from lychee prometheus
This commit is contained in:
parent
4577bacd0f
commit
2eed379533
1 changed files with 18 additions and 0 deletions
|
|
@ -117,6 +117,24 @@ spec:
|
|||
- maple.vxm.cz:9100
|
||||
- alder.vxm.cz:9100
|
||||
|
||||
# See: https://developers.mattermost.com/blog/cloud-monitoring/
|
||||
- job_name: "federate"
|
||||
scrape_interval: 15s
|
||||
|
||||
honor_labels: true
|
||||
metrics_path: "/federate"
|
||||
|
||||
params:
|
||||
'match[]':
|
||||
- '{job="prometheus"}'
|
||||
- '{__name__=~"job:.*"}'
|
||||
|
||||
static_configs:
|
||||
- targets:
|
||||
- prometheus.lychee.k8s.vxm.cz.
|
||||
labels:
|
||||
clusterID: lychee
|
||||
|
||||
serviceMonitor:
|
||||
selfMonitor: true
|
||||
|
||||
|
|
|
|||
Reference in a new issue