gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 129/189: slow query time


From: gnunet
Subject: [taler-grid5k] 129/189: slow query time
Date: Thu, 28 Apr 2022 10:48:19 +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 7671e63dd5a2665eaca89969fc98309444009094
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Fri Apr 8 16:10:16 2022 +0200

    slow query time
---
 configs/etc/monitor/promtail.yaml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/configs/etc/monitor/promtail.yaml 
b/configs/etc/monitor/promtail.yaml
index 24acbcc..dec036b 100644
--- a/configs/etc/monitor/promtail.yaml
+++ b/configs/etc/monitor/promtail.yaml
@@ -43,8 +43,15 @@ scrape_configs:
               type: Counter
               description: 'Exchange database number of slow queries'
               config:
-                match_all: true
+                match_all: false
                 action: inc
+            slow_query_duration_hist:
+              prefix: 'taler_database_'
+              type: Histogram
+              description: "Slow query duration extracted from logs"
+              source: time
+              config:
+                buckets: [10,100,200,500,1000,5000,10000,50000]
     - match:
         selector: '{job="database"} |~ "(.*011Query 
Text:.*)|(.*duration:.*execute.*)"'
         stages:

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