gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 128/189: fix yaml


From: gnunet
Subject: [taler-grid5k] 128/189: fix yaml
Date: Thu, 28 Apr 2022 10:48:18 +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 e541378d7c89b0ba7a10a315378f6062b81498a3
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Fri Apr 8 15:35:32 2022 +0200

    fix yaml
---
 configs/etc/monitor/promtail.yaml | 52 +++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/configs/etc/monitor/promtail.yaml 
b/configs/etc/monitor/promtail.yaml
index 8437be3..24acbcc 100644
--- a/configs/etc/monitor/promtail.yaml
+++ b/configs/etc/monitor/promtail.yaml
@@ -33,33 +33,33 @@ scrape_configs:
       target_label: app
   pipeline_stages:
     - match:
-      selector: '{job="database"} |~ "duration:"'
-      stages:
-      - regex:
-          expression: '.*duration: (?P<time>\d+.?\d?)ms.*'
-      - metrics:
-          num_slow_queries:
-            prefix: 'taler_database_'
-            type: Counter
-            description: 'Exchange database number of slow queries'
-            config:
-              match_all: true
-              action: inc
+        selector: '{job="database"} |~ "duration:"'
+        stages:
+        - regex:
+            expression: '.*duration: (?P<time>\d+.?\d?)ms.*'
+        - metrics:
+            num_slow_queries:
+              prefix: 'taler_database_'
+              type: Counter
+              description: 'Exchange database number of slow queries'
+              config:
+                match_all: true
+                action: inc
     - match:
-      selector: '{job="database"} |~ "(.*011Query 
Text:.*)|(.*duration:.*execute.*)"'
-      stages:
-      - regex:
-          expression: '(.*011Query Text: (?P<txt>.*))|(.*duration.*execute 
[a-zA-Z_]+: (?P<plan>.*))'
-      - template:
-          source: lbl
-          template: '{{ printf "slow-query" }}'
-      - template:
-          source: query
-          template: '{{ coalesce .txt .plan }}'
-      - labels:
-          type: lbl
-      - output:
-          source: query
+        selector: '{job="database"} |~ "(.*011Query 
Text:.*)|(.*duration:.*execute.*)"'
+        stages:
+        - regex:
+            expression: '(.*011Query Text: (?P<txt>.*))|(.*duration.*execute 
[a-zA-Z_]+: (?P<plan>.*))'
+        - template:
+            source: lbl
+            template: '{{ printf "slow-query" }}'
+        - template:
+            source: query
+            template: '{{ coalesce .txt .plan }}'
+        - labels:
+            type: lbl
+        - output:
+            source: query
 
 - job_name: nginx
   syslog:

-- 
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]