gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-grid5k] 38/48: add relabel to prometheus


From: gnunet
Subject: [taler-grid5k] 38/48: add relabel to prometheus
Date: Sat, 28 May 2022 12:11:58 +0200

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository grid5k.

commit dc2c10d923c274817b63cff0a6967f1dc99cd9d2
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Wed May 25 11:33:33 2022 +0200

    add relabel to prometheus
---
 configs/etc/monitor/prometheus.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configs/etc/monitor/prometheus.yaml 
b/configs/etc/monitor/prometheus.yaml
index 87924c0..1899f3d 100644
--- a/configs/etc/monitor/prometheus.yaml
+++ b/configs/etc/monitor/prometheus.yaml
@@ -15,6 +15,13 @@ scrape_configs:
   - job_name: 'database'
     static_configs:
     - targets: ['127.0.0.1:9187']
+    relabel_configs:
+    - source_labels: ['relname']
+      separator: "="
+      regex: "relname=(.*)_[0-9]+"
+      replacement: "${1}"
+      target_label: "relname"
+      action: "replace"
 
   # Exchange Proxy Exporter 
   - job_name: 'exchange-proxy'

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]