gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 126/189: try further with promtail metrics


From: gnunet
Subject: [taler-grid5k] 126/189: try further with promtail metrics
Date: Thu, 28 Apr 2022 10:48:16 +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 333fbf8b5c05ea24c42fce413ad718acf12bea7a
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Thu Apr 7 17:24:58 2022 +0200

    try further with promtail metrics
---
 configs/etc/monitor/promtail.yaml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/configs/etc/monitor/promtail.yaml 
b/configs/etc/monitor/promtail.yaml
index b51ee2a..88c5507 100644
--- a/configs/etc/monitor/promtail.yaml
+++ b/configs/etc/monitor/promtail.yaml
@@ -48,15 +48,23 @@ scrape_configs:
              config:
                match_all: true
                action: inc
+           # Used to calculate 'over_time' statistics
+           response_time:
+             prefix: 'taler_requests_'
+             type: Gauge
+             description: "Time taken for Nginx to respond"
+             source: response_time
+             config:
+               action: set
            # 
https://www.robustperception.io/how-does-a-prometheus-histogram-work
-           request_length:
+           request_length_hist:
              prefix: 'taler_requests_'
              type: Histogram
              description: "Request Length reported from Nginx"
              source: request_length
              config:
                buckets: [1,10,50,100,200,500,1000,2000,5000] 
-           bytes_sent:
+           bytes_sent_hist:
              prefix: 'taler_requests_'
              type: Histogram
              description: "Number of bytes sent, reported from Nginx"
@@ -70,7 +78,7 @@ scrape_configs:
              source: response_time
              config:
                buckets: 
[0.001,0.0025,0.005,0.010,0.025,0.050,0.1,0.25,0.5,1,2,5]
-           upstream_response_time:
+           upstream_response_time_hist:
              prefix: 'taler_requests_'
              type: Histogram
              description: "Time taken for the Exchange to respond to Nginx"

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