You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rc...@apache.org on 2020/06/10 04:10:39 UTC

[james-project] 03/08: JAMES-3170 Update board with derivative metrics counter (Cache hit/miss)

This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit e6c5168c8c54890f1a6d932b7f19e771f24d6a04
Author: duc91 <du...@gmail.com>
AuthorDate: Tue Jun 9 18:06:26 2020 +0700

    JAMES-3170 Update board with derivative metrics counter (Cache hit/miss)
---
 .../CacheBlobStore-15911761170000-dashboard.json   | 78 ++++++++++++++++------
 1 file changed, 57 insertions(+), 21 deletions(-)

diff --git a/grafana-reporting/CacheBlobStore-15911761170000-dashboard.json b/grafana-reporting/CacheBlobStore-15911761170000-dashboard.json
index c51b0bb..ed58953 100644
--- a/grafana-reporting/CacheBlobStore-15911761170000-dashboard.json
+++ b/grafana-reporting/CacheBlobStore-15911761170000-dashboard.json
@@ -16,12 +16,12 @@
   "editable": true,
   "gnetId": null,
   "graphTooltip": 0,
-  "id": 4,
+  "id": 1,
   "links": [],
   "panels": [
     {
       "collapsed": false,
-      "datasource": null,
+      "datasource": "Elasticsearch",
       "gridPos": {
         "h": 1,
         "w": 24,
@@ -173,7 +173,8 @@
       "bars": false,
       "dashLength": 10,
       "dashes": false,
-      "datasource": null,
+      "datasource": "Elasticsearch",
+      "decimals": 0,
       "fieldConfig": {
         "defaults": {
           "custom": {}
@@ -191,13 +192,16 @@
       "hiddenSeries": false,
       "id": 8,
       "legend": {
+        "alignAsTable": false,
         "avg": false,
-        "current": false,
-        "max": false,
+        "current": true,
+        "hideEmpty": false,
+        "max": true,
         "min": false,
+        "rightSide": false,
         "show": true,
-        "total": false,
-        "values": false
+        "total": true,
+        "values": true
       },
       "lines": true,
       "linewidth": 1,
@@ -209,13 +213,22 @@
       "pointradius": 2,
       "points": false,
       "renderer": "flot",
-      "seriesOverrides": [],
+      "seriesOverrides": [
+        {
+          "alias": "Derivative hit",
+          "yaxis": 2
+        },
+        {
+          "alias": "Derivative miss",
+          "yaxis": 2
+        }
+      ],
       "spaceLength": 10,
       "stack": false,
       "steppedLine": false,
       "targets": [
         {
-          "alias": "miss",
+          "alias": "hit",
           "bucketAggs": [
             {
               "field": "@timestamp",
@@ -228,22 +241,32 @@
               "type": "date_histogram"
             }
           ],
+          "dsType": "elasticsearch",
+          "hide": false,
           "metrics": [
             {
-              "field": "1",
+              "field": "count",
               "id": "3",
               "meta": {},
               "pipelineAgg": "1",
               "settings": {},
+              "type": "max"
+            },
+            {
+              "field": "3",
+              "id": "4",
+              "meta": {},
+              "pipelineAgg": "3",
+              "settings": {},
               "type": "derivative"
             }
           ],
-          "query": "name:\"blobstoreCacheMisses\"",
-          "refId": "A",
+          "query": "name:\"blobstoreCacheHits\"",
+          "refId": "B",
           "timeField": "@timestamp"
         },
         {
-          "alias": "hit",
+          "alias": "miss",
           "bucketAggs": [
             {
               "field": "@timestamp",
@@ -258,6 +281,13 @@
           ],
           "metrics": [
             {
+              "field": "count",
+              "id": "1",
+              "meta": {},
+              "settings": {},
+              "type": "max"
+            },
+            {
               "field": "1",
               "id": "3",
               "meta": {},
@@ -266,8 +296,8 @@
               "type": "derivative"
             }
           ],
-          "query": "name:\"blobstoreCacheHits\"",
-          "refId": "B",
+          "query": "name:\"blobstoreCacheMisses\"",
+          "refId": "A",
           "timeField": "@timestamp"
         }
       ],
@@ -278,9 +308,15 @@
       "title": "CachedHits/CachedMisses",
       "tooltip": {
         "shared": true,
-        "sort": 0,
+        "sort": 1,
         "value_type": "individual"
       },
+      "transformations": [
+        {
+          "id": "filterByRefId",
+          "options": {}
+        }
+      ],
       "type": "graph",
       "xaxis": {
         "buckets": null,
@@ -292,7 +328,7 @@
       "yaxes": [
         {
           "decimals": 0,
-          "format": "locale",
+          "format": "none",
           "label": null,
           "logBase": 1,
           "max": null,
@@ -301,7 +337,7 @@
         },
         {
           "decimals": 0,
-          "format": "locale",
+          "format": "opm",
           "label": null,
           "logBase": 1,
           "max": null,
@@ -323,7 +359,7 @@
     "list": []
   },
   "time": {
-    "from": "now-5m",
+    "from": "now-12h",
     "to": "now"
   },
   "timepicker": {
@@ -339,8 +375,8 @@
       "1d"
     ]
   },
-  "timezone": "",
+  "timezone": "browser",
   "title": "CachedBlobstore",
   "uid": "XbLcT6zMz",
-  "version": 5
+  "version": 4
 }
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org