gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 21/48: update


From: gnunet
Subject: [taler-grid5k] 21/48: update
Date: Sat, 28 May 2022 12:11:41 +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 61f18f296b49318b11468e63723e537a1a0884e9
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Sat May 14 15:31:23 2022 +0200

    update
---
 additional/grafana/transactions.json        | 98 ++++++++++++++++-------------
 configs/etc/monitor/node-exporters.yaml.tpl |  4 ++
 experiment/scripts/monitor.sh               |  2 +-
 3 files changed, 58 insertions(+), 46 deletions(-)

diff --git a/additional/grafana/transactions.json 
b/additional/grafana/transactions.json
index 8a17208..ae60c92 100644
--- a/additional/grafana/transactions.json
+++ b/additional/grafana/transactions.json
@@ -1191,7 +1191,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[2m])) + 
sum(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\"}[2m]) or 
rate(taler_exchange_batch_withdraw_num_coins{} [2m]))",
+          "expr": "sum by (__name__) 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", 
status=\"200\"}[2m]) or vector(0)) + on(__name__) sum by (__name__) 
(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [2m]) or vector(0)) + on (__name__) sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [2m]) or vector(0))",
           "interval": "",
           "legendFormat": "",
           "refId": "A"
@@ -1278,7 +1278,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": 
"sum(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", 
status=\"200\"}[2m])) + 
sum(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\"} [2m]) or 
rate(taler_exchange_batch_withdraw_num_coins{} [2m]))",
+          "expr": "sum by (__name__) 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", 
status=\"200\"}[2m]) or vector(0)) + on(__name__) sum by (__name__) 
(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [2m]) or vector(0)) + on (__name__) sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [2m]) or vector(0))",
           "interval": "",
           "intervalFactor": 2,
           "legendFormat": "TPS",
@@ -1362,7 +1362,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": 
"sum(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [2m]) or rate(taler_exchange_batch_withdraw_num_coins{} [2m]))",
+          "expr": "sum by(__name__) 
(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [2m]) or vector(0)) + on () sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [2m]) or vector(0))",
           "interval": "",
           "legendFormat": "Withdraw",
           "refId": "A"
@@ -1384,21 +1384,26 @@
       "type": "timeseries"
     },
     {
-      "description": "Total successful (200) requests to /deposit per second, 
measured at the nginx proxy in a 5 minute interval.",
       "fieldConfig": {
         "defaults": {
           "color": {
-            "mode": "continuous-RdYlGr"
+            "mode": "thresholds"
           },
           "mappings": [],
-          "max": 100000,
-          "min": 0,
           "thresholds": {
             "mode": "absolute",
             "steps": [
               {
                 "color": "green",
                 "value": null
+              },
+              {
+                "color": "semi-dark-red",
+                "value": 0
+              },
+              {
+                "color": "green",
+                "value": 1
               }
             ]
           }
@@ -1406,14 +1411,14 @@
         "overrides": []
       },
       "gridPos": {
-        "h": 3,
+        "h": 4,
         "w": 5,
         "x": 0,
         "y": 16
       },
-      "id": 30,
+      "id": 78,
       "options": {
-        "colorMode": "none",
+        "colorMode": "value",
         "graphMode": "none",
         "justifyMode": "center",
         "orientation": "auto",
@@ -1424,7 +1429,6 @@
           "fields": "",
           "values": false
         },
-        "text": {},
         "textMode": "auto"
       },
       "pluginVersion": "8.4.6",
@@ -1435,14 +1439,27 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[5m] ))",
+          "expr": 
"(sum(rate(taler_requests_total_requests{endpoint=\"reserves-batch-withdraw\"}[5s]))
 or vector(0)) > bool 0",
           "instant": true,
           "interval": "",
-          "legendFormat": "",
+          "legendFormat": "Batch",
           "refId": "A"
+        },
+        {
+          "datasource": {
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
+          },
+          "exemplar": false,
+          "expr": 
"(sum(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\"}[5s])) 
or vector(0)) > bool 0",
+          "hide": false,
+          "instant": true,
+          "interval": "",
+          "legendFormat": "Normal",
+          "refId": "B"
         }
       ],
-      "title": "Payments per Second",
+      "title": "Withdraw Operation",
       "transformations": [],
       "type": "stat"
     },
@@ -1498,7 +1515,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [5m]) or rate(taler_exchange_batch_withdraw_num_coins{} [2m]))",
+          "expr": "sum by (__name__) 
(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [5m]) or vector(0)) + on (__name__) sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [2m]) or vector(0))",
           "instant": true,
           "interval": "",
           "legendFormat": "",
@@ -1510,26 +1527,15 @@
       "type": "stat"
     },
     {
+      "description": "Total successful (200) requests to /deposit per second, 
measured at the nginx proxy in a 5 minute interval.",
       "fieldConfig": {
         "defaults": {
           "color": {
-            "mode": "thresholds"
+            "mode": "continuous-RdYlGr"
           },
-          "mappings": [
-            {
-              "options": {
-                "0": {
-                  "index": 0,
-                  "text": "Normal"
-                },
-                "1": {
-                  "index": 1,
-                  "text": "Batch"
-                }
-              },
-              "type": "value"
-            }
-          ],
+          "mappings": [],
+          "max": 100000,
+          "min": 0,
           "thresholds": {
             "mode": "absolute",
             "steps": [
@@ -1544,15 +1550,15 @@
       },
       "gridPos": {
         "h": 3,
-        "w": 3,
-        "x": 0,
+        "w": 5,
+        "x": 5,
         "y": 19
       },
-      "id": 78,
+      "id": 30,
       "options": {
         "colorMode": "none",
         "graphMode": "none",
-        "justifyMode": "auto",
+        "justifyMode": "center",
         "orientation": "auto",
         "reduceOptions": {
           "calcs": [
@@ -1561,6 +1567,7 @@
           "fields": "",
           "values": false
         },
+        "text": {},
         "textMode": "auto"
       },
       "pluginVersion": "8.4.6",
@@ -1571,14 +1578,15 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": 
"(sum(rate(taler_requests_total_requests{endpoint=\"reserves-batch-withdraw\"}[5s]))
 or vector(0)) > bool 0",
+          "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[5m] ))",
           "instant": true,
           "interval": "",
           "legendFormat": "",
           "refId": "A"
         }
       ],
-      "title": "Withdraw Operation",
+      "title": "Payments per Second",
+      "transformations": [],
       "type": "stat"
     },
     {
@@ -1607,9 +1615,9 @@
       },
       "gridPos": {
         "h": 3,
-        "w": 4,
-        "x": 3,
-        "y": 19
+        "w": 5,
+        "x": 5,
+        "y": 22
       },
       "id": 54,
       "options": {
@@ -1635,7 +1643,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": 
"(sum(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", 
status=\"200\"} [5m]))) / (sum 
(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [5m]) or rate(taler_exchange_batch_withdraw_num_coins{} 
[2m])))",
+          "expr": "(sum by (__name__) 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[5m]) or vector(0))) / on (__name__) (sum by (__name__) 
(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\", 
status=\"200\"} [5m]) or vector(0)) + on (__name__) sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [2m]) or vector(0)))",
           "instant": true,
           "interval": "",
           "legendFormat": "",
@@ -2424,7 +2432,7 @@
       "type": "bargauge"
     }
   ],
-  "refresh": false,
+  "refresh": "5s",
   "schemaVersion": 35,
   "style": "dark",
   "tags": [
@@ -2435,13 +2443,13 @@
     "list": []
   },
   "time": {
-    "from": "2022-05-14T11:15:54.131Z",
-    "to": "2022-05-14T11:19:17.040Z"
+    "from": "now-1h",
+    "to": "now"
   },
   "timepicker": {},
   "timezone": "",
   "title": "Transactions",
   "uid": "83vvgKKnk",
-  "version": 151,
+  "version": 156,
   "weekStart": ""
 }
\ No newline at end of file
diff --git a/configs/etc/monitor/node-exporters.yaml.tpl 
b/configs/etc/monitor/node-exporters.yaml.tpl
index 4a0815d..1d8634e 100644
--- a/configs/etc/monitor/node-exporters.yaml.tpl
+++ b/configs/etc/monitor/node-exporters.yaml.tpl
@@ -52,3 +52,7 @@
         component: 'shard'
       targets:
       # <SHARD_NODES_HERE>
+    - labels:
+        component: 'auditor'
+      targets:
+      - 'auditor.perf.taler:9100'
diff --git a/experiment/scripts/monitor.sh b/experiment/scripts/monitor.sh
index 3aaa7fd..0614b11 100755
--- a/experiment/scripts/monitor.sh
+++ b/experiment/scripts/monitor.sh
@@ -91,7 +91,7 @@ function configure_prometheus_and_exporters() {
           /etc/default/prometheus-postgres-exporter
   
   CFG=""
-  if [[ ${NUM_AUDITORS} -gt 1 ]]; then
+  if [[ ${NUM_AUDITORS} -ge 1 ]]; then
     CFG="${CFG},postgresql://postgres@auditor.${DNS_ZONE}:5432"
   fi
   sed -i "s|<AUDITOR_DB_URL_HERE>|${CFG}|g" \

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