gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] branch master updated: update dashboards


From: gnunet
Subject: [taler-grid5k] branch master updated: update dashboards
Date: Sat, 11 Jun 2022 19:04:59 +0200

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository grid5k.

The following commit(s) were added to refs/heads/master by this push:
     new 78aa4c7  update dashboards
78aa4c7 is described below

commit 78aa4c74da4fcec9a540144c69259d54425879a9
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Sat Jun 11 19:04:53 2022 +0200

    update dashboards
---
 additional/grafana/load-statistics.json |   4 +-
 additional/grafana/transactions.json    | 384 ++++++++++++++++++++++----------
 2 files changed, 263 insertions(+), 125 deletions(-)

diff --git a/additional/grafana/load-statistics.json 
b/additional/grafana/load-statistics.json
index f62ee62..5589334 100644
--- a/additional/grafana/load-statistics.json
+++ b/additional/grafana/load-statistics.json
@@ -1755,7 +1755,7 @@
             "mode": "palette-classic"
           },
           "custom": {
-            "axisLabel": "",
+            "axisLabel": "Requests per Second",
             "axisPlacement": "auto",
             "barAlignment": 0,
             "drawStyle": "line",
@@ -1861,6 +1861,6 @@
   "timezone": "",
   "title": "Load Statistics",
   "uid": "rkyhDAt7z",
-  "version": 81,
+  "version": 82,
   "weekStart": ""
 }
\ No newline at end of file
diff --git a/additional/grafana/transactions.json 
b/additional/grafana/transactions.json
index d3bbdbc..3eafad8 100644
--- a/additional/grafana/transactions.json
+++ b/additional/grafana/transactions.json
@@ -1213,11 +1213,11 @@
       },
       "id": 22,
       "panels": [],
-      "title": "Total TPS",
+      "title": "Total TPS (Exchange Metrics)",
       "type": "row"
     },
     {
-      "description": "Total successful (200) requests to /deposit and 
/withdraw per second, measured at the nginx proxy in a 2 minute interval. Or if 
with batch withdraw then the number of successful requests to /deposit plus the 
number of coins returned in a batch request (measured by the exchange).",
+      "description": "Total successful transactions of deposit and withdraw, 
reported by the exchange processes.",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -1267,7 +1267,7 @@
             "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))",
+          "expr": "sum by (__name__) 
(rate(taler_exchange_success_transactions{type=\"deposit\"}[2m]) or vector(0)) 
+ on(__name__) sum by (__name__) 
(rate(taler_exchange_success_transactions{type=\"withdraw\"} [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 @@
       "type": "gauge"
     },
     {
-      "description": "Total number of successful requests to /deposit and 
/withdraw per second, measured at the nginx proxy and over a 2 minute interval. 
Or if with batch withdraw then the number of successful requests to /deposit 
plus the number of coins returned in a batch request (measured by the 
exchange).",
+      "description": "Total successful transactions of deposit and withdraw, 
reported by the exchange processes.",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -1355,7 +1355,7 @@
             "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))",
+          "expr": "sum by (__name__) 
(rate(taler_exchange_success_transactions{type=\"deposit\"}[1m]) or vector(0)) 
+ on(__name__) sum by (__name__) 
(rate(taler_exchange_success_transactions{type=\"withdraw\"} [1m]) or 
vector(0)) + on (__name__) sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [1m]) or vector(0))",
           "interval": "",
           "intervalFactor": 2,
           "legendFormat": "TPS",
@@ -1366,7 +1366,7 @@
       "type": "timeseries"
     },
     {
-      "description": "The TPS over Time per operation. For deposit its the 
number of successful requests to /deposit. For withdraw it may be the number of 
successful requests to /withdraw or the number of coins returned in a batch 
request.",
+      "description": "The TPS over Time per operation. Total successful 
transactions of deposit and withdraw, reported by the exchange processes.",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -1439,7 +1439,7 @@
             "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))",
+          "expr": "sum by(__name__) 
(rate(taler_exchange_success_transactions{type=\"withdraw\"} [1m]) or 
vector(0)) + on () sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [1m]) or vector(0))",
           "interval": "",
           "intervalFactor": 2,
           "legendFormat": "Withdraw",
@@ -1451,7 +1451,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": 
"sum(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", 
status=\"200\"}[2m]))",
+          "expr": 
"sum(rate(taler_exchange_success_transactions{type=\"deposit\"}[1m]))",
           "hide": false,
           "interval": "",
           "intervalFactor": 2,
@@ -1543,7 +1543,7 @@
       "type": "stat"
     },
     {
-      "description": "Total successful (200) requests per second to /withdraw 
per second, measured at the nginx proxy in a 5 minute interval. Or if with 
batch withdraw then the  the number of coins returned in a batch request 
(measured by the exchange).",
+      "description": "Total successful transactions of withdraw, reported by 
the exchange processes.",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -1594,7 +1594,7 @@
             "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))",
+          "expr": "sum by (__name__) 
(rate(taler_exchange_success_transactions{type=\"withdraw\"} [5m]) or 
vector(0)) + on (__name__) sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [5m]) or vector(0))",
           "instant": true,
           "interval": "",
           "legendFormat": "",
@@ -1606,7 +1606,7 @@
       "type": "stat"
     },
     {
-      "description": "Total successful (200) requests to /deposit per second, 
measured at the nginx proxy in a 5 minute interval.",
+      "description": "Total successful transactions of deposit, reported by 
the exchange processes.",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -1658,7 +1658,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[5m] ))",
+          "expr": "sum 
(rate(taler_exchange_success_transactions{type=\"deposit\"} [5m] ))",
           "instant": true,
           "interval": "",
           "legendFormat": "",
@@ -1670,24 +1670,16 @@
       "type": "stat"
     },
     {
+      "datasource": {
+        "type": "prometheus",
+        "uid": "${DS_PROMETHEUS}"
+      },
       "fieldConfig": {
         "defaults": {
           "color": {
             "mode": "thresholds"
           },
-          "mappings": [
-            {
-              "options": {
-                "match": "null+nan",
-                "result": {
-                  "index": 0,
-                  "text": "None"
-                }
-              },
-              "type": "special"
-            }
-          ],
-          "noValue": "None",
+          "mappings": [],
           "thresholds": {
             "mode": "absolute",
             "steps": [
@@ -1698,6 +1690,10 @@
               {
                 "color": "text",
                 "value": 0
+              },
+              {
+                "color": "green",
+                "value": 1
               }
             ]
           }
@@ -1710,9 +1706,9 @@
         "x": 0,
         "y": 20
       },
-      "id": 80,
+      "id": 178,
       "options": {
-        "colorMode": "none",
+        "colorMode": "value",
         "graphMode": "none",
         "justifyMode": "center",
         "orientation": "auto",
@@ -1733,14 +1729,27 @@
             "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]+)*\"))",
+          "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": "Partitions",
+      "title": "Withdraw Operation",
       "transformations": [],
       "type": "stat"
     },
@@ -1810,7 +1819,7 @@
             "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)))",
+          "expr": "(sum by (__name__) 
(rate(taler_exchange_success_transactions{type=\"deposit\"} [5m]) or 
vector(0))) / on (__name__) (sum by (__name__) 
(rate(taler_exchange_success_transactions{type=\"withdraw\"} [5m]) or 
vector(0)) + on (__name__) sum by (__name__) 
(rate(taler_exchange_batch_withdraw_num_coins{} [5m]) or vector(0)))",
           "instant": true,
           "interval": "",
           "legendFormat": "",
@@ -1828,14 +1837,14 @@
         "x": 0,
         "y": 25
       },
-      "id": 20,
+      "id": 122,
       "panels": [
         {
           "datasource": {
-            "type": "loki",
-            "uid": "${DS_LOKI}"
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
           },
-          "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.)",
+          "description": "Total successful (200) requests to /deposit and 
/withdraw per second, measured at the nginx proxy in a 2 minute interval. Or if 
with batch withdraw then the number of successful requests to /deposit plus the 
number of coins returned in a batch request (measured by the exchange).",
           "fieldConfig": {
             "defaults": {
               "color": {
@@ -1849,7 +1858,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   }
                 ]
               }
@@ -1857,12 +1867,12 @@
             "overrides": []
           },
           "gridPos": {
-            "h": 9,
-            "w": 5,
+            "h": 10,
+            "w": 10,
             "x": 0,
             "y": 26
           },
-          "id": 14,
+          "id": 102,
           "options": {
             "orientation": "auto",
             "reduceOptions": {
@@ -1880,88 +1890,114 @@
           "targets": [
             {
               "datasource": {
-                "type": "loki",
-                "uid": "${DS_LOKI}"
+                "type": "prometheus",
+                "uid": "${DS_PROMETHEUS}"
               },
-              "expr": "count without(uri) (sum by(uri) 
(count_over_time({job=\"proxy\", endpoint=~\"coins-deposit|reserves-withdraw\", 
status=\"200\"} | logfmt [2m]))) / 120",
-              "instant": true,
-              "range": false,
+              "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))",
+              "interval": "",
+              "legendFormat": "",
               "refId": "A"
             }
           ],
-          "title": "Current TPS (Grouped)",
+          "title": "Current TPS [2m]",
+          "transformations": [],
           "type": "gauge"
         },
         {
-          "datasource": {
-            "type": "loki",
-            "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.)",
+          "description": "Total number of successful requests to /deposit and 
/withdraw per second, measured at the nginx proxy and over a 2 minute interval. 
Or if with batch withdraw then the number of successful requests to /deposit 
plus the number of coins returned in a batch request (measured by the 
exchange).",
           "fieldConfig": {
             "defaults": {
               "color": {
-                "mode": "continuous-RdYlGr"
+                "mode": "palette-classic"
+              },
+              "custom": {
+                "axisLabel": "TPS",
+                "axisPlacement": "auto",
+                "barAlignment": 0,
+                "drawStyle": "line",
+                "fillOpacity": 47,
+                "gradientMode": "opacity",
+                "hideFrom": {
+                  "legend": false,
+                  "tooltip": false,
+                  "viz": false
+                },
+                "lineInterpolation": "smooth",
+                "lineStyle": {
+                  "fill": "solid"
+                },
+                "lineWidth": 1,
+                "pointSize": 5,
+                "scaleDistribution": {
+                  "type": "linear"
+                },
+                "showPoints": "never",
+                "spanNulls": false,
+                "stacking": {
+                  "group": "A",
+                  "mode": "none"
+                },
+                "thresholdsStyle": {
+                  "mode": "off"
+                }
               },
               "mappings": [],
-              "max": 100000,
               "min": 0,
               "thresholds": {
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   }
                 ]
-              }
+              },
+              "unit": "none"
             },
             "overrides": []
           },
           "gridPos": {
-            "h": 3,
-            "w": 5,
-            "x": 5,
+            "h": 9,
+            "w": 14,
+            "x": 10,
             "y": 26
           },
-          "id": 16,
+          "id": 134,
           "options": {
-            "colorMode": "none",
-            "graphMode": "none",
-            "justifyMode": "center",
-            "orientation": "auto",
-            "reduceOptions": {
-              "calcs": [
-                "lastNotNull"
-              ],
-              "fields": "",
-              "values": false
+            "legend": {
+              "calcs": [],
+              "displayMode": "hidden",
+              "placement": "bottom"
             },
-            "text": {},
-            "textMode": "auto"
+            "tooltip": {
+              "mode": "single",
+              "sort": "none"
+            }
           },
-          "pluginVersion": "8.4.6",
           "targets": [
             {
               "datasource": {
-                "type": "loki",
-                "uid": "${DS_LOKI}"
+                "type": "prometheus",
+                "uid": "${DS_PROMETHEUS}"
               },
-              "expr": "(count without(uri) (sum by(uri) 
(count_over_time({job=\"proxy\", endpoint=\"reserves-withdraw\", 
status=\"200\"} | logfmt [10m])))) / 600",
-              "instant": true,
-              "range": false,
+              "exemplar": true,
+              "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",
               "refId": "A"
             }
           ],
-          "title": "Withdrawals per Second (Grouped)",
-          "transformations": [],
-          "type": "stat"
+          "title": "TPS History",
+          "type": "timeseries"
         },
         {
           "datasource": {
-            "type": "loki",
-            "uid": "${DS_LOKI}"
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
           },
-          "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.)",
+          "description": "The TPS over Time per operation. For deposit its the 
number of successful requests to /deposit. For withdraw it may be the number of 
successful requests to /withdraw or the number of coins returned in a batch 
request.",
           "fieldConfig": {
             "defaults": {
               "color": {
@@ -1972,17 +2008,14 @@
                 "axisPlacement": "auto",
                 "barAlignment": 0,
                 "drawStyle": "line",
-                "fillOpacity": 47,
-                "gradientMode": "opacity",
+                "fillOpacity": 22,
+                "gradientMode": "none",
                 "hideFrom": {
                   "legend": false,
                   "tooltip": false,
                   "viz": false
                 },
                 "lineInterpolation": "smooth",
-                "lineStyle": {
-                  "fill": "solid"
-                },
                 "lineWidth": 1,
                 "pointSize": 5,
                 "scaleDistribution": {
@@ -1992,7 +2025,7 @@
                 "spanNulls": false,
                 "stacking": {
                   "group": "A",
-                  "mode": "none"
+                  "mode": "normal"
                 },
                 "thresholdsStyle": {
                   "mode": "off"
@@ -2003,7 +2036,8 @@
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   }
                 ]
               },
@@ -2012,16 +2046,16 @@
             "overrides": []
           },
           "gridPos": {
-            "h": 9,
+            "h": 10,
             "w": 14,
             "x": 10,
-            "y": 26
+            "y": 35
           },
-          "id": 26,
+          "id": 176,
           "options": {
             "legend": {
               "calcs": [],
-              "displayMode": "hidden",
+              "displayMode": "list",
               "placement": "bottom"
             },
             "tooltip": {
@@ -2032,20 +2066,106 @@
           "targets": [
             {
               "datasource": {
-                "type": "loki",
-                "uid": "${DS_LOKI}"
+                "type": "prometheus",
+                "uid": "${DS_PROMETHEUS}"
               },
-              "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",
-              "refId": "A",
-              "resolution": 10
+              "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))",
+              "interval": "",
+              "intervalFactor": 2,
+              "legendFormat": "Withdraw",
+              "refId": "A"
+            },
+            {
+              "datasource": {
+                "type": "prometheus",
+                "uid": "${DS_PROMETHEUS}"
+              },
+              "exemplar": false,
+              "expr": 
"sum(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", 
status=\"200\"}[2m]))",
+              "hide": false,
+              "interval": "",
+              "intervalFactor": 2,
+              "legendFormat": "Deposit",
+              "refId": "B"
             }
           ],
-          "title": "TPS History (Grouped)",
+          "title": "TPS History by Transaction",
           "type": "timeseries"
         },
         {
-          "description": "",
+          "datasource": {
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
+          },
+          "description": "Total successful (200) requests per second to 
/withdraw per second, measured at the nginx proxy in a 5 minute interval. Or if 
with batch withdraw then the  the number of coins returned in a batch request 
(measured by the exchange).",
+          "fieldConfig": {
+            "defaults": {
+              "color": {
+                "mode": "continuous-RdYlGr"
+              },
+              "mappings": [],
+              "max": 100000,
+              "min": 0,
+              "thresholds": {
+                "mode": "absolute",
+                "steps": [
+                  {
+                    "color": "green",
+                    "value": null
+                  }
+                ]
+              }
+            },
+            "overrides": []
+          },
+          "gridPos": {
+            "h": 3,
+            "w": 5,
+            "x": 0,
+            "y": 36
+          },
+          "id": 114,
+          "options": {
+            "colorMode": "none",
+            "graphMode": "none",
+            "justifyMode": "center",
+            "orientation": "auto",
+            "reduceOptions": {
+              "calcs": [
+                "lastNotNull"
+              ],
+              "fields": "",
+              "values": false
+            },
+            "text": {},
+            "textMode": "auto"
+          },
+          "pluginVersion": "8.4.6",
+          "targets": [
+            {
+              "datasource": {
+                "type": "prometheus",
+                "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))",
+              "instant": true,
+              "interval": "",
+              "legendFormat": "",
+              "refId": "A"
+            }
+          ],
+          "title": "Withdrawals per Second [5m]",
+          "transformations": [],
+          "type": "stat"
+        },
+        {
+          "datasource": {
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
+          },
+          "description": "Total successful (200) requests to /deposit per 
second, measured at the nginx proxy in a 5 minute interval.",
           "fieldConfig": {
             "defaults": {
               "color": {
@@ -2054,11 +2174,13 @@
               "mappings": [],
               "max": 100000,
               "min": 0,
+              "noValue": "0",
               "thresholds": {
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   }
                 ]
               }
@@ -2069,9 +2191,9 @@
             "h": 3,
             "w": 5,
             "x": 5,
-            "y": 29
+            "y": 36
           },
-          "id": 6,
+          "id": 130,
           "options": {
             "colorMode": "none",
             "graphMode": "none",
@@ -2094,21 +2216,22 @@
                 "type": "prometheus",
                 "uid": "${DS_PROMETHEUS}"
               },
-              "exemplar": true,
+              "exemplar": false,
               "expr": "sum 
(rate(taler_requests_total_requests{endpoint=\"coins-deposit\", status=\"200\"} 
[5m] ))",
+              "instant": true,
               "interval": "",
               "legendFormat": "",
               "refId": "A"
             }
           ],
-          "title": "Payments per Second  (Grouped)",
+          "title": "Payments per Second [5m]",
           "transformations": [],
           "type": "stat"
         },
         {
           "datasource": {
-            "type": "loki",
-            "uid": "${DS_LOKI}"
+            "type": "prometheus",
+            "uid": "${DS_PROMETHEUS}"
           },
           "description": "",
           "fieldConfig": {
@@ -2116,12 +2239,25 @@
               "color": {
                 "mode": "thresholds"
               },
-              "mappings": [],
+              "mappings": [
+                {
+                  "options": {
+                    "match": "null+nan",
+                    "result": {
+                      "index": 0,
+                      "text": "0"
+                    }
+                  },
+                  "type": "special"
+                }
+              ],
+              "noValue": "0",
               "thresholds": {
                 "mode": "absolute",
                 "steps": [
                   {
-                    "color": "green"
+                    "color": "green",
+                    "value": null
                   },
                   {
                     "color": "red",
@@ -2135,10 +2271,10 @@
           "gridPos": {
             "h": 3,
             "w": 5,
-            "x": 5,
-            "y": 32
+            "x": 2,
+            "y": 39
           },
-          "id": 12,
+          "id": 154,
           "options": {
             "colorMode": "none",
             "graphMode": "none",
@@ -2158,20 +2294,22 @@
           "targets": [
             {
               "datasource": {
-                "type": "loki",
-                "uid": "${DS_LOKI}"
+                "type": "prometheus",
+                "uid": "${DS_PROMETHEUS}"
               },
-              "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]))))",
+              "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)))",
               "instant": true,
-              "range": false,
+              "interval": "",
+              "legendFormat": "",
               "refId": "A"
             }
           ],
-          "title": "Payments / Reserve (Grouped)",
+          "title": "Payments / Withdraw [5m]",
           "type": "stat"
         }
       ],
-      "title": "Total TPS (Grouped by Reserves)",
+      "title": "Total TPS (Nginx Logs)",
       "type": "row"
     },
     {
@@ -2367,7 +2505,7 @@
         "type": "loki",
         "uid": "${DS_LOKI}"
       },
-      "description": "Average time to deposit coins measured by wallet - for 
all deposits in one iteration",
+      "description": "Average time to deposit coins measured by wallet",
       "fieldConfig": {
         "defaults": {
           "color": {
@@ -2451,7 +2589,7 @@
           "resolution": 5
         }
       ],
-      "title": "Average Deposit Duration (Iteration)",
+      "title": "Average Deposit Duration",
       "type": "timeseries"
     },
     {
@@ -2586,7 +2724,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": false,
-          "expr": "sort_desc(sum by (account) 
(taler_fakebank_account_payments{account!=\"Exchange\"}))",
+          "expr": "sort_desc(sum by (account) 
(taler_fakebank_account_payments{account!=\"exchange\"}))",
           "format": "time_series",
           "instant": true,
           "interval": "",
@@ -2617,6 +2755,6 @@
   "timezone": "",
   "title": "Transactions",
   "uid": "83vvgKKnk",
-  "version": 169,
+  "version": 188,
   "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]