gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 45/48: update dashboards


From: gnunet
Subject: [taler-grid5k] 45/48: update dashboards
Date: Sat, 28 May 2022 12:12:05 +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 f6649ae5d32130f88dcdf577a97f937a19081121
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Wed May 25 17:51:02 2022 +0200

    update dashboards
---
 additional/grafana/database.json     |  99 ++++++++++++++++++++--
 additional/grafana/transactions.json | 155 ++++++++++++++++++++++++++---------
 2 files changed, 209 insertions(+), 45 deletions(-)

diff --git a/additional/grafana/database.json b/additional/grafana/database.json
index db3f318..c655b7f 100644
--- a/additional/grafana/database.json
+++ b/additional/grafana/database.json
@@ -73,7 +73,7 @@
   "gnetId": 6742,
   "graphTooltip": 1,
   "id": null,
-  "iteration": 1653478495743,
+  "iteration": 1653478495749,
   "links": [],
   "liveNow": false,
   "panels": [
@@ -1952,7 +1952,7 @@
             "fields": {
               "Value": {
                 "aggregations": [
-                  "sum"
+                  "lastNotNull"
                 ],
                 "operation": "aggregate"
               },
@@ -1981,6 +1981,7 @@
               "wait_event_type": 0
             },
             "renameByName": {
+              "Value (lastNotNull)": "Count per Second",
               "Value (sum)": "Count per Second",
               "wait_event": "Event",
               "wait_event_type": "Type"
@@ -2002,6 +2003,94 @@
       ],
       "type": "table"
     },
+    {
+      "description": "",
+      "fieldConfig": {
+        "defaults": {
+          "color": {
+            "mode": "palette-classic"
+          },
+          "custom": {
+            "axisLabel": "",
+            "axisPlacement": "auto",
+            "barAlignment": 0,
+            "drawStyle": "line",
+            "fillOpacity": 0,
+            "gradientMode": "none",
+            "hideFrom": {
+              "legend": false,
+              "tooltip": false,
+              "viz": false
+            },
+            "lineInterpolation": "linear",
+            "lineWidth": 1,
+            "pointSize": 5,
+            "scaleDistribution": {
+              "type": "linear"
+            },
+            "showPoints": "auto",
+            "spanNulls": false,
+            "stacking": {
+              "group": "A",
+              "mode": "none"
+            },
+            "thresholdsStyle": {
+              "mode": "off"
+            }
+          },
+          "mappings": [],
+          "thresholds": {
+            "mode": "absolute",
+            "steps": [
+              {
+                "color": "green",
+                "value": null
+              },
+              {
+                "color": "red",
+                "value": 80
+              }
+            ]
+          }
+        },
+        "overrides": []
+      },
+      "gridPos": {
+        "h": 10,
+        "w": 12,
+        "x": 12,
+        "y": 34
+      },
+      "id": 104,
+      "options": {
+        "legend": {
+          "calcs": [],
+          "displayMode": "list",
+          "placement": "bottom"
+        },
+        "tooltip": {
+          "mode": "single",
+          "sort": "none"
+        }
+      },
+      "pluginVersion": "8.4.6",
+      "targets": [
+        {
+          "datasource": {
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
+          },
+          "exemplar": true,
+          "expr": "sum by (wait_event_type, wait_event) 
(rate(pg_wait_events_count{} [5m]))",
+          "interval": "",
+          "legendFormat": "{{wait_event}} ({{ wait_event_type }})",
+          "refId": "A"
+        }
+      ],
+      "title": "Wait Events per Second",
+      "transformations": [],
+      "type": "timeseries"
+    },
     {
       "collapsed": false,
       "gridPos": {
@@ -2350,7 +2439,7 @@
           "refId": "B"
         }
       ],
-      "title": "Live Tuples (rate)",
+      "title": "Live Tuples (Rate)",
       "transformations": [],
       "type": "timeseries"
     },
@@ -2475,7 +2564,7 @@
           "refId": "A"
         }
       ],
-      "title": "Dead Tuples (rate)",
+      "title": "Dead Tuples (Rate)",
       "transformations": [],
       "type": "timeseries"
     },
@@ -4043,6 +4132,6 @@
   "timezone": "",
   "title": "Database",
   "uid": "2FTtdeOnk",
-  "version": 113,
+  "version": 115,
   "weekStart": ""
 }
\ No newline at end of file
diff --git a/additional/grafana/transactions.json 
b/additional/grafana/transactions.json
index 56fd0e1..d3bbdbc 100644
--- a/additional/grafana/transactions.json
+++ b/additional/grafana/transactions.json
@@ -1,4 +1,67 @@
 {
+  "__inputs": [
+    {
+      "name": "DS_PROMETHEUS",
+      "label": "Prometheus",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "prometheus",
+      "pluginName": "Prometheus"
+    },
+    {
+      "name": "DS_LOKI",
+      "label": "Loki",
+      "description": "",
+      "type": "datasource",
+      "pluginId": "loki",
+      "pluginName": "Loki"
+    }
+  ],
+  "__elements": [],
+  "__requires": [
+    {
+      "type": "panel",
+      "id": "bargauge",
+      "name": "Bar gauge",
+      "version": ""
+    },
+    {
+      "type": "panel",
+      "id": "gauge",
+      "name": "Gauge",
+      "version": ""
+    },
+    {
+      "type": "grafana",
+      "id": "grafana",
+      "name": "Grafana",
+      "version": "8.4.6"
+    },
+    {
+      "type": "datasource",
+      "id": "loki",
+      "name": "Loki",
+      "version": "1.0.0"
+    },
+    {
+      "type": "datasource",
+      "id": "prometheus",
+      "name": "Prometheus",
+      "version": "1.0.0"
+    },
+    {
+      "type": "panel",
+      "id": "stat",
+      "name": "Stat",
+      "version": ""
+    },
+    {
+      "type": "panel",
+      "id": "timeseries",
+      "name": "Time series",
+      "version": ""
+    }
+  ],
   "annotations": {
     "list": [
       {
@@ -22,7 +85,7 @@
   "editable": true,
   "fiscalYearStartMonth": 0,
   "graphTooltip": 1,
-  "id": 18,
+  "id": null,
   "links": [],
   "liveNow": false,
   "panels": [
@@ -91,7 +154,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"sum(node_systemd_unit_state{name=~\"taler-wallet@(.*).service\", 
state=\"active\"})",
@@ -156,7 +219,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "((count(go_info{instance=~\"wallet(.*)\"}) * 100) - 
sum((avg by(instance) (irate(node_cpu_seconds_total{mode=\"idle\", 
instance=~\"wallet(.*)\"}[5m])) * 100))) / 
count(go_info{instance=~\"wallet(.*)\"})",
@@ -217,7 +280,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "count(go_info{instance=~\"wallet(.*)\"})",
@@ -279,7 +342,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "count(go_info{instance=~\"exchange(.*)\"})",
@@ -339,7 +402,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"sum(node_systemd_unit_state{name=~\"taler-exchange-http(.*).service\", 
state=\"active\"})",
@@ -410,7 +473,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"sum(node_systemd_unit_state{name=~\"taler-exchange-wirewatch(.*).service\", 
state=\"active\"})",
@@ -482,7 +545,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"sum(node_systemd_unit_state{name=~\"taler-exchange-closer(.*).service\", 
state=\"active\"})",
@@ -629,7 +692,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"node_systemd_unit_state{name=\"taler-exchange-secmod-cs.service\", 
state=\"active\"}",
@@ -764,7 +827,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "count(go_info{instance=~\"(.*).proxy.*\"})",
@@ -834,7 +897,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"sum(node_systemd_unit_state{name=~\"taler-exchange-aggregator(.*).service\", 
state=\"active\"})",
@@ -904,7 +967,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"sum(node_systemd_unit_state{name=~\"taler-exchange-transfer(.*).service\", 
state=\"active\"})",
@@ -979,7 +1042,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"node_systemd_unit_state{name=\"taler-exchange-secmod-eddsa.service\", 
state=\"active\"}",
@@ -1055,7 +1118,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "node_systemd_unit_state{name=\"taler-fakebank.service\", 
state=\"active\"}",
@@ -1201,7 +1264,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "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))",
@@ -1289,7 +1352,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "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))",
@@ -1373,7 +1436,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "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))",
@@ -1385,7 +1448,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"sum(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", 
status=\"200\"}[2m]))",
@@ -1452,7 +1515,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"(sum(rate(taler_requests_total_requests{endpoint=\"reserves-batch-withdraw\"}[5s]))
 or vector(0)) > bool 0",
@@ -1464,7 +1527,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": 
"(sum(rate(taler_requests_total_requests{endpoint=\"reserves-withdraw\"}[5s])) 
or vector(0)) > bool 0",
@@ -1528,7 +1591,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "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{} [5m]) or vector(0))",
@@ -1592,7 +1655,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[5m] ))",
@@ -1612,7 +1675,19 @@
           "color": {
             "mode": "thresholds"
           },
-          "mappings": [],
+          "mappings": [
+            {
+              "options": {
+                "match": "null+nan",
+                "result": {
+                  "index": 0,
+                  "text": "None"
+                }
+              },
+              "type": "special"
+            }
+          ],
+          "noValue": "None",
           "thresholds": {
             "mode": "absolute",
             "steps": [
@@ -1655,7 +1730,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "count 
(label_replace(rate(pg_stat_user_tables_vacuum_count{relname=~\"reserves_[0-9]+\"}
 [5m]), \"relnamenew\", \"$1\", \"relname\", \"(.*[^_0-9])(_[0-9]+)*\"))",
@@ -1732,7 +1807,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "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{} [5m]) or vector(0)))",
@@ -1758,7 +1833,7 @@
         {
           "datasource": {
             "type": "loki",
-            "uid": "Mp8p16v7z"
+            "uid": "${DS_LOKI}"
           },
           "description": "Total successful requests to withdraw a whole 
reserve and to /deposit per second, measured at the nginx proxy and over the 
whole displayed time range. (Requests to /withdraw are grouped into reserves 
they belong to before they get counted.)",
           "fieldConfig": {
@@ -1806,7 +1881,7 @@
             {
               "datasource": {
                 "type": "loki",
-                "uid": "Mp8p16v7z"
+                "uid": "${DS_LOKI}"
               },
               "expr": "count without(uri) (sum by(uri) 
(count_over_time({job=\"proxy\", endpoint=~\"coins-deposit|reserves-withdraw\", 
status=\"200\"} | logfmt [2m]))) / 120",
               "instant": true,
@@ -1820,7 +1895,7 @@
         {
           "datasource": {
             "type": "loki",
-            "uid": "Mp8p16v7z"
+            "uid": "${DS_LOKI}"
           },
           "description": "Total successful requests to withdraw all coins of a 
reserve per second, measured at the nginx proxy in a 10 minute interval. 
(Requests to /withdraw are grouped into reserves they belong to before they get 
counted.)",
           "fieldConfig": {
@@ -1869,7 +1944,7 @@
             {
               "datasource": {
                 "type": "loki",
-                "uid": "Mp8p16v7z"
+                "uid": "${DS_LOKI}"
               },
               "expr": "(count without(uri) (sum by(uri) 
(count_over_time({job=\"proxy\", endpoint=\"reserves-withdraw\", 
status=\"200\"} | logfmt [10m])))) / 600",
               "instant": true,
@@ -1884,7 +1959,7 @@
         {
           "datasource": {
             "type": "loki",
-            "uid": "Mp8p16v7z"
+            "uid": "${DS_LOKI}"
           },
           "description": "Total successful requests to withdraw a whole 
reserve  and to /deposit per second, measured at the nginx proxy and over the 
whole displayed time range. (Requests to /withdraw are grouped into reserves 
they belong to before they get counted.)",
           "fieldConfig": {
@@ -1958,7 +2033,7 @@
             {
               "datasource": {
                 "type": "loki",
-                "uid": "Mp8p16v7z"
+                "uid": "${DS_LOKI}"
               },
               "expr": "count without(uri) (sum by(uri) 
(count_over_time({job=\"proxy\", endpoint=~\"reserves-withdraw|coins-deposit\", 
status=\"200\"} | logfmt [2m]))) / (2*60)",
               "legendFormat": "TPS",
@@ -2017,7 +2092,7 @@
             {
               "datasource": {
                 "type": "prometheus",
-                "uid": "mZHmoevnk"
+                "uid": "${DS_PROMETHEUS}"
               },
               "exemplar": true,
               "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[5m] ))",
@@ -2033,7 +2108,7 @@
         {
           "datasource": {
             "type": "loki",
-            "uid": "Mp8p16v7z"
+            "uid": "${DS_LOKI}"
           },
           "description": "",
           "fieldConfig": {
@@ -2084,7 +2159,7 @@
             {
               "datasource": {
                 "type": "loki",
-                "uid": "Mp8p16v7z"
+                "uid": "${DS_LOKI}"
               },
               "expr": "(sum(count_over_time({job=\"proxy\", 
endpoint=\"coins-deposit\", status=\"200\"} [10m]))) / (count without(uri) (sum 
by(uri) (count_over_time({job=\"proxy\", endpoint=\"reserves-withdraw\", 
status=\"200\"} | logfmt [10m]))))",
               "instant": true,
@@ -2115,7 +2190,7 @@
     {
       "datasource": {
         "type": "loki",
-        "uid": "Mp8p16v7z"
+        "uid": "${DS_LOKI}"
       },
       "description": "Average time to withdraw all reserved coins in one 
iteration, measured by the wallets.",
       "fieldConfig": {
@@ -2192,7 +2267,7 @@
         {
           "datasource": {
             "type": "loki",
-            "uid": "Mp8p16v7z"
+            "uid": "${DS_LOKI}"
           },
           "expr": "avg_over_time({app=\"taler-wallet-cli\", job=\"wallet\", 
script=\"benchmark\"} |~ \"withdraw\" | logfmt | unwrap time [2m]) by (app)",
           "instant": false,
@@ -2290,7 +2365,7 @@
     {
       "datasource": {
         "type": "loki",
-        "uid": "Mp8p16v7z"
+        "uid": "${DS_LOKI}"
       },
       "description": "Average time to deposit coins measured by wallet - for 
all deposits in one iteration",
       "fieldConfig": {
@@ -2367,7 +2442,7 @@
         {
           "datasource": {
             "type": "loki",
-            "uid": "Mp8p16v7z"
+            "uid": "${DS_LOKI}"
           },
           "expr": "avg_over_time({app=\"taler-wallet-cli\", job=\"wallet\", 
script=\"benchmark\"} |~ \"deposit \" | logfmt | unwrap time [2m]) by (app)",
           "legendFormat": "deposit",
@@ -2508,7 +2583,7 @@
         {
           "datasource": {
             "type": "prometheus",
-            "uid": "mZHmoevnk"
+            "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
           "expr": "sort_desc(sum by (account) 
(taler_fakebank_account_payments{account!=\"Exchange\"}))",
@@ -2542,6 +2617,6 @@
   "timezone": "",
   "title": "Transactions",
   "uid": "83vvgKKnk",
-  "version": 168,
+  "version": 169,
   "weekStart": ""
 }
\ No newline at end of file

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