diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..29b636a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +*.iml \ No newline at end of file diff --git a/Elasticsearch Cluster Stats.json b/Elasticsearch Cluster Stats.json index f8a90f6..5e5fa56 100644 --- a/Elasticsearch Cluster Stats.json +++ b/Elasticsearch Cluster Stats.json @@ -55,7 +55,7 @@ "gnetId": null, "graphTooltip": 0, "id": null, - "iteration": 1538730391182, + "iteration": 1540398614608, "links": [ { "asDropdown": false, @@ -149,10 +149,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.indices.docs.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').avg()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.indices.docs.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -234,10 +234,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.indices.store.size_in_bytes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').avg()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.indices.store.size_in_bytes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -322,7 +322,7 @@ "errors": [], "id": "A", "output": true, - "query": "A=fetch('elasticsearch.cluster.nodes.fs.total_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg');\nB=fetch('elasticsearch.cluster.nodes.fs.available_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg');\none=1;\nC=one.sub(B.div(A)).avg();" + "query": "A=fetch('elasticsearch.cluster.nodes.fs.total_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg').sum();\nB=fetch('elasticsearch.cluster.nodes.fs.available_in_bytes')$global_tag_filter.tag_filter(\"cluster=$cluster\").downsample('[[__interval]]','avg').sum();\none=1;\nC=one.sub(B.div(A));" }, "type": "Query" } @@ -338,7 +338,7 @@ "value": "null" } ], - "valueName": "avg" + "valueName": "current" }, { "cacheTimeout": null, @@ -404,10 +404,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.number_of_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.number_of_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -489,10 +489,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.number_of_data_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.number_of_data_nodes')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -575,10 +575,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.indices.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.indices.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -661,10 +661,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.indices.segments.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.indices.segments.count')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -746,10 +746,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.active_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.active_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -831,10 +831,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.active_primary_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.active_primary_shards')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').sum()" }, "type": "Query" } @@ -1004,7 +1004,7 @@ "errors": [], "id": "A", "output": true, - "query": "A=fetch('elasticsearch.node.thread_pool.rejected', rate=\"counter\", dropcounterresets=\"true\")$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','max').sum()" + "query": "A=fetch('elasticsearch.node.thread_pool.rejected', rate='delta')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','sum').sum()" }, "type": "Query" } @@ -1086,10 +1086,10 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.cluster.status')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').max()", "errors": [], "id": "A", - "output": true + "output": true, + "query": "A=fetch('elasticsearch.cluster.status')$global_tag_filter.tag_filter('cluster==$cluster').downsample('[[__interval]]','avg').max()" }, "type": "Query" } @@ -1147,7 +1147,7 @@ "datasource": "${DS_APPTUIT}", "gridPos": { "h": 7, - "w": 12, + "w": 8, "x": 0, "y": 6 }, @@ -1213,8 +1213,8 @@ "datasource": "${DS_APPTUIT}", "gridPos": { "h": 7, - "w": 12, - "x": 12, + "w": 8, + "x": 8, "y": 6 }, "heatmap": {}, @@ -1241,7 +1241,7 @@ "title": "Node JVM Heap Usage", "tooltip": { "show": true, - "showHistogram": false + "showHistogram": true }, "type": "heatmap", "xAxis": { @@ -1270,12 +1270,12 @@ "dashLength": 10, "dashes": false, "datasource": "${DS_APPTUIT}", - "fill": 1, + "fill": 0, "gridPos": { "h": 7, - "w": 12, - "x": 0, - "y": 13 + "w": 8, + "x": 16, + "y": 6 }, "id": 89, "legend": { @@ -1295,7 +1295,12 @@ "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "seriesOverrides": [ + { + "alias": "avg", + "fill": 1 + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, @@ -3432,7 +3437,7 @@ "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": false + "show": true }, "tableColumn": "", "targets": [ @@ -3459,7 +3464,7 @@ "value": "null" } ], - "valueName": "avg" + "valueName": "current" }, { "cacheTimeout": null, @@ -3517,7 +3522,7 @@ "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": false + "show": true }, "tableColumn": "", "targets": [ @@ -3544,7 +3549,7 @@ "value": "null" } ], - "valueName": "avg" + "valueName": "current" }, { "cacheTimeout": null, @@ -3602,7 +3607,7 @@ "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": false + "show": true }, "tableColumn": "", "targets": [ @@ -3629,7 +3634,7 @@ "value": "null" } ], - "valueName": "avg" + "valueName": "current" }, { "cacheTimeout": null, @@ -3687,7 +3692,7 @@ "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": false + "show": true }, "tableColumn": "", "targets": [ @@ -3714,7 +3719,7 @@ "value": "null" } ], - "valueName": "avg" + "valueName": "current" } ], "refresh": "5m", @@ -3749,7 +3754,7 @@ "allValue": "*", "current": {}, "datasource": "${DS_APPTUIT}", - "hide": 0, + "hide": 2, "includeAll": true, "label": "host", "multi": false, @@ -3815,5 +3820,6 @@ }, "timezone": "", "title": "Elasticsearch Cluster Stats", - "version": 3 -} + "uid": "SMuvXLbmk", + "version": 1 +} \ No newline at end of file diff --git a/Elasticsearch Index Stats.json b/Elasticsearch Index Stats.json index c176515..a3ada07 100644 --- a/Elasticsearch Index Stats.json +++ b/Elasticsearch Index Stats.json @@ -49,7 +49,7 @@ "gnetId": null, "graphTooltip": 0, "id": null, - "iteration": 1531828272536, + "iteration": 1540399183891, "links": [ { "asDropdown": false, @@ -111,6 +111,7 @@ "refId": "A", "ts": { "errors": [], + "genMap": [], "id": "A", "output": true, "query": "A=fetch('elasticsearch.indices.byindex.primaries.indexing.index_total', rate='counter')$global_tag_filter.tag_filter('cluster==$cluster').tag_filter('index==$index').downsample('[[__interval]]','avg');\nB=fetch('elasticsearch.indices.byindex.total.indexing.index_total', rate='counter')$global_tag_filter.tag_filter('cluster==$cluster').tag_filter('index==$index').downsample('[[__interval]]','avg');\noutput(A,B)" @@ -1926,7 +1927,7 @@ "options": [], "query": "tag_values(elasticsearch.indices.byindex.primaries.query_cache.total_count,index,cluster=$cluster)", "refresh": 1, - "regex": "/^filebeat-2018.*/", + "regex": "", "sort": 2, "tagValuesQuery": "", "tags": [], @@ -1938,7 +1939,7 @@ "allValue": "*", "current": {}, "datasource": "${DS_APPTUIT}", - "hide": 0, + "hide": 2, "includeAll": true, "label": "host", "multi": false, @@ -2004,5 +2005,6 @@ }, "timezone": "", "title": "Elasticsearch Index Stats", - "version": 86 + "uid": "tKdOuLbmk", + "version": 1 } \ No newline at end of file diff --git a/Elasticsearch Node Stats.json b/Elasticsearch Node Stats.json index 57ede04..2397222 100644 --- a/Elasticsearch Node Stats.json +++ b/Elasticsearch Node Stats.json @@ -55,7 +55,7 @@ "gnetId": null, "graphTooltip": 0, "id": null, - "iteration": 1531828504144, + "iteration": 1540399769567, "links": [ { "asDropdown": false, @@ -647,8 +647,8 @@ "metrics": [], "refId": "B", "ts": { - "query": "B=fetch('elasticsearch.cluster.nodes.process.cpu.percent')$global_tag_filter.downsample('[[__interval]]','avg')", - "errors": [] + "errors": [], + "query": "B=fetch('elasticsearch.cluster.nodes.process.cpu.percent')$global_tag_filter.downsample('[[__interval]]','avg')" }, "type": "Query" } @@ -1465,11 +1465,11 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.node.indices.merges.total_size_in_bytes', rate='true')$global_tag_filter.tag_filter('cluster==$cluster').tag_filter('node==$node').downsample('[[__interval]]','avg')", + "alias": "$t(node)", "errors": [], "id": "A", "output": true, - "alias": "$t(node)" + "query": "A=fetch('elasticsearch.node.indices.merges.total_size_in_bytes', rate='true')$global_tag_filter.tag_filter('cluster==$cluster').tag_filter('node==$node').downsample('[[__interval]]','avg')" }, "type": "Query" } @@ -1738,9 +1738,9 @@ "metrics": [], "refId": "A", "ts": { - "query": "A=fetch('elasticsearch.node.http.total_opened', rate='true')$global_tag_filter.tag_filter('cluster==$node').tag_filter('node==$node').downsample('[[__interval]]','avg')", + "alias": "$t(node)-HTTP opened", "errors": [], - "alias": "$t(node)-HTTP opened" + "query": "A=fetch('elasticsearch.node.http.total_opened', rate='true')$global_tag_filter.tag_filter('cluster==$node').tag_filter('node==$node').downsample('[[__interval]]','avg')" }, "type": "Query" } @@ -3201,7 +3201,7 @@ "multi": true, "name": "node", "options": [], - "query": "tag_values(elasticsearch.node.process.cpu.percent,node)", + "query": "tag_values(elasticsearch.node.process.cpu.percent,node,cluster=$cluster)", "refresh": 1, "regex": "", "sort": 0, @@ -3235,7 +3235,7 @@ "allValue": "*", "current": {}, "datasource": "${DS_APPTUIT}", - "hide": 0, + "hide": 2, "includeAll": true, "label": "host", "multi": false, @@ -3301,5 +3301,6 @@ }, "timezone": "", "title": "Elasticsearch Node Stats", - "version": 2 + "uid": "5MyduYbik", + "version": 1 } \ No newline at end of file diff --git a/JVM Metrics.json b/JVM Metrics.json index 0df8d54..84f1609 100644 --- a/JVM Metrics.json +++ b/JVM Metrics.json @@ -27,13 +27,13 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -42,1368 +42,1440 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": 278, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 1, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "cpu_pct:$t(cloud_service)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('jvm.process.cpu.nanos', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.downsample('[[__interval]]', 'p95');\r\nnanos=1000000000;\r\ncpu_pct=A.div(nanos).max(by='cloud_service');\r\noutput(cpu_pct);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Process CPU %", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "metrics": [], + "refId": "A", + "ts": { + "alias": "cpu_pct:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.process.cpu.nanos', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.downsample('[[__interval]]', 'p95');\r\nnanos=1000000000;\r\ncpu_pct=A.div(nanos).max(by='cloud_service');\r\noutput(cpu_pct);" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Process CPU %", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 1, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "gc_pct:$t(cloud_service)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('jvm.gc.time.millis', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.downsample('[[__interval]]', 'p95').sum(by=\"host\");\r\nten=10;\r\ngc_pct=A.div(ten).max(by='cloud_service');\r\noutput(gc_pct);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "% GC Time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "GC Time", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.thread.deadlock.count')$global_tag_filter.tag_filter('cloud_service=*').downsample('[[__interval]]','avg').sum(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Deadlocked Threads", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "metrics": [], + "refId": "A", + "ts": { + "alias": "gc_pct:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.gc.time.millis', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.downsample('[[__interval]]', 'p95').sum(by=\"host\");\r\nten=10;\r\ngc_pct=A.div(ten).max(by='cloud_service');\r\noutput(gc_pct);" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "% GC Time", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.thread.deadlock.count')$global_tag_filter.tag_filter('cloud_service=*').downsample('[[__interval]]','avg').sum(by='cloud_service')" }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, + "thresholds": [], + "timeFrom": null, + "timeShift": null, "title": "Deadlocked Threads", - "titleSize": "h6" + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": "250px", - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 14 + }, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.fd.open')$global_tag_filter.tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.fd.open')$global_tag_filter.tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Open FDs", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Open FDs", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "height": "250px", - "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "minSpan": null, - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "hide": false, - "metrics": [], - "refId": "A", - "ts": { - "alias": "C:$t(cloud_service)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('jvm.classloading.loaded')$global_tag_filter.downsample('[[__interval]]','avg');\nB=fetch('jvm.classloading.unloaded')$global_tag_filter.downsample('[[__interval]]','avg');\nC=A.sub(B).max(by=\"cloud_service\");" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Loaded Class Count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 14 + }, + "height": "250px", + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "minSpan": null, + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 3, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "hide": false, + "metrics": [], + "refId": "A", + "ts": { + "alias": "C:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.classloading.loaded')$global_tag_filter.downsample('[[__interval]]','avg');\nB=fetch('jvm.classloading.unloaded')$global_tag_filter.downsample('[[__interval]]','avg');\nC=A.sub(B).max(by=\"cloud_service\");" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.thread.count')$global_tag_filter.tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Thread Count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Thread", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Loaded Class Count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 230, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 7, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.usage')$global_tag_filter.tag_filter('type=heap').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Heap Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.thread.count')$global_tag_filter.tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Thread Count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.used.bytes')$global_tag_filter.tag_filter('type=non_heap').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Non Heap Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 6, + "w": 6, + "x": 0, + "y": 28 + }, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.usage')$global_tag_filter.tag_filter('type=heap').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "yaxes": [ - { - "format": "decbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Heap Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 9, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 1, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "gc_pct:$t(cloud_service)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('jvm.gc.time.millis', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.tag_filter(\"generation==young\").downsample('[[__interval]]', 'p95');\r\nten=10;\r\ngc_pct=A.div(ten).max(by='cloud_service');\r\noutput(gc_pct);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "% Young GC Time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 6, + "w": 6, + "x": 6, + "y": 28 + }, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.used.bytes')$global_tag_filter.tag_filter('type=non_heap').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Non Heap Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "decbytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 1, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "gc_pct:$t(cloud_service)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('jvm.gc.time.millis', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.tag_filter(\"generation==old\").downsample('[[__interval]]', 'p95');\r\nten=10;\r\ngc_pct=A.div(ten).max(by='cloud_service');\r\noutput(gc_pct);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "% Old GC Time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 6, + "w": 6, + "x": 12, + "y": 28 + }, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 15, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=eden').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Eden Usage (max)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "metrics": [], + "refId": "A", + "ts": { + "alias": "gc_pct:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.gc.time.millis', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.tag_filter(\"generation==young\").downsample('[[__interval]]', 'p95');\r\nten=10;\r\ngc_pct=A.div(ten).max(by='cloud_service');\r\noutput(gc_pct);" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "% Young GC Time", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 13, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=survivor').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Survivor Usage (max)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 28 + }, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "gc_pct:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.gc.time.millis', rate='counter', dropcounterresets='true', align=\"15s\")$global_tag_filter.tag_filter(\"generation==old\").downsample('[[__interval]]', 'p95');\r\nten=10;\r\ngc_pct=A.div(ten).max(by='cloud_service');\r\noutput(gc_pct);" }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "% Old GC Time", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=old').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Old Usage (max)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 34 + }, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=eden').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Eden Usage (max)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=code_cache').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Code Cache Usage (max)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 6, + "y": 34 + }, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=survivor').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Survivor Usage (max)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 17, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=compressed_class_space').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Compressed Class Space Usage (max)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 12, + "y": 34 + }, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=old').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Old Usage (max)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 18, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 18, + "y": 34 + }, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=code_cache').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=metaspace').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')", - "errors": [], - "id": "A", - "output": true, - "alias": "A:$t(cloud_service)" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Metaspace Usage (max)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Code Cache Usage (max)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 41 + }, + "id": 17, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=compressed_class_space').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Compressed Class Space Usage (max)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 6, + "y": 41 + }, + "id": 18, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('jvm.memory.pools.usage')$global_tag_filter.tag_filter('type=metaspace').tag_filter('cloud_service=*').downsample('[[__interval]]','avg').max(by='cloud_service')" }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Metaspace Usage (max)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [ "jinsight" @@ -1480,5 +1552,6 @@ }, "timezone": "", "title": "JVM Metrics", - "version": 13 -} + "uid": "76FKuLxik", + "version": 1 +} \ No newline at end of file diff --git a/Logging Metrics.json b/Logging Metrics.json index a0eea30..642c102 100644 --- a/Logging Metrics.json +++ b/Logging Metrics.json @@ -27,13 +27,13 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -42,298 +42,289 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "rows": [ + "panels": [ { - "collapse": false, - "height": "250px", - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "A:$t(cloud_service) : $t(level)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('logger.appends.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]','sum').sum(by='cloud_service,level');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Logging Rate", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service) : $t(level)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('logger.appends.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]','sum').sum(by='cloud_service,level');" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Logging Rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 2, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 2, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true + "metrics": [], + "refId": "A", + "ts": { + "alias": "A: $t(cloud_service)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('logger.throwables.total.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]','sum').sum(by='cloud_service');" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "A: $t(cloud_service)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('logger.throwables.total.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]','sum').sum(by='cloud_service');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Throwables logged", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throwables logged", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 3, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 3, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "e:$t(cloud_service)-$t(class)", - "errors": [], - "id": "A", - "output": true, - "query": "e=fetch('logger.throwables.count', rate='true')$global_tag_filter.sum(by='cloud_service,class').downsample('[[__interval]]', 'sum');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Exception Class Metrics", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "metrics": [], + "refId": "A", + "ts": { + "alias": "e:$t(cloud_service)-$t(class)", + "errors": [], + "id": "A", + "output": true, + "query": "e=fetch('logger.throwables.count', rate='true')$global_tag_filter.sum(by='cloud_service,class').downsample('[[__interval]]', 'sum');" }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Exception Class Metrics", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "schemaVersion": 16, "style": "dark", "tags": [ "jinsight" @@ -410,5 +401,6 @@ }, "timezone": "", "title": "Logging Metrics", - "version": 7 + "uid": "04qKuLbmz", + "version": 1 } \ No newline at end of file diff --git a/Memcache Metrics.json b/Memcache Metrics.json index 49ee0a2..63def9f 100644 --- a/Memcache Metrics.json +++ b/Memcache Metrics.json @@ -2,7 +2,7 @@ "__inputs": [ { "name": "DS_APPTUIT", - "label": "Apptuit Prod Query Engine - PG", + "label": "Apptuit", "description": "", "type": "datasource", "pluginId": "apptuit", @@ -27,19 +27,19 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -48,2717 +48,1200 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": 250, - "panels": [ + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 0, + "y": 0 + }, + "id": 2, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 2, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.curr_connections", - "output": true - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "memcache_connections=fetch('memcached.connections')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Connections", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 3, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.curr_items", - "output": true - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "memcache_connections=fetch('memcached.connections')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "memcache_current_items=fetch('memcached.items')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "# Items", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "type": "Query" + } + ], + "thresholds": "", + "title": "Connections", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 4, + "y": 0 + }, + "id": 3, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "percentunit", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 6, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "errors": [], - "expr": "(a+b+c+d+e)/(a+b+c+d+e+f+g+i+j)", - "id": "K", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "last", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.cas_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.decr_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "memcache.incr_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "D", - "metric": "memcache.get_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "E", - "metric": "memcache.delete_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "F", - "metric": "memcache.cas_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "G", - "metric": "memcache.decr_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "H", - "metric": "memcache.incr_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "I", - "metric": "memcache.get_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "J", - "metric": "memcache.delete_misses", - "output": false - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "memcache_current_items=fetch('memcached.items')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 5, - "output": true, - "query": "memcache_hits=fetch('memcached.commands.hits.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_misses=fetch('memcached.commands.misses.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_total_ops=memcache_hits.add(memcache_misses, ignore='command');\nmemcache_hit_ratio=memcache_hits.div(memcache_total_ops, ignore='command').avg();\noutput(memcache_hit_ratio);" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Hit Ratio", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "type": "Query" + } + ], + "thresholds": "", + "title": "# Items", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "percentunit", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 8, + "y": 0 + }, + "id": 6, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "percentunit", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 4, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "errors": [], - "expr": "b/(a+b)", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "last", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.cmd_set", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.cmd_get", - "output": false - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 5, + "output": true, + "query": "memcache_hits=fetch('memcached.commands.hits.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_misses=fetch('memcached.commands.misses.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_total_ops=memcache_hits.add(memcache_misses, ignore='command');\nmemcache_hit_ratio=memcache_hits.div(memcache_total_ops, ignore='command').avg();\noutput(memcache_hit_ratio);" }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "memcache_gets=fetch('memcached.commands.count', rate='true')$global_tag_filter.tag_filter('command==get').downsample('[[__interval]]', 'max').sum();\nmemcache_sets=fetch('memcached.commands.count', rate='true')$global_tag_filter.tag_filter('command==set').downsample('[[__interval]]', 'max').sum();\nmemcache_total_ops=memcache_gets.add(memcache_sets, ignore='command');\nmemcache_get_ratio=memcache_gets.div(memcache_total_ops, ignore='command');" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Get/Set Ratio", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "type": "Query" + } + ], + "thresholds": "", + "title": "Hit Ratio", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "percentunit", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 12, + "y": 0 + }, + "id": 4, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "percentunit", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 9, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "errors": [], - "expr": "a/b", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "last", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.bytes", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.limit_maxbytes", - "output": false - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "memcache_gets=fetch('memcached.commands.count', rate='true')$global_tag_filter.tag_filter('command==get').downsample('[[__interval]]', 'max').sum();\nmemcache_sets=fetch('memcached.commands.count', rate='true')$global_tag_filter.tag_filter('command==set').downsample('[[__interval]]', 'max').sum();\nmemcache_total_ops=memcache_gets.add(memcache_sets, ignore='command');\nmemcache_get_ratio=memcache_gets.div(memcache_total_ops, ignore='command');" }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "memcache_bytes_used=fetch('memcached.memory.bytes')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmemcache_bytes_limit=fetch('memcached.memory.limit.bytes')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmemcache_fill_percent=memcache_bytes_used.div(memcache_bytes_limit, ignore='state');" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Fill %", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "type": "Query" + } + ], + "thresholds": "", + "title": "Get/Set Ratio", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "percentunit", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 16, + "y": 0 + }, + "id": 9, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 11, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "last", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.evictions", - "output": true - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "memcache_bytes_used=fetch('memcached.memory.bytes')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmemcache_bytes_limit=fetch('memcached.memory.limit.bytes')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmemcache_fill_percent=memcache_bytes_used.div(memcache_bytes_limit, ignore='state');" }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "memcache_evictions=fetch('memcached.evictions.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Eviction Rate", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": "", + "title": "Fill %", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" }, { - "collapse": false, - "height": "250px", - "panels": [ + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 20, + "y": 0 + }, + "id": 11, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "alias": "Hit Ratio", - "errors": [], - "expr": "(a+b+c+d+e)/(a+b+c+d+e+f+g+h+i+j)", - "id": "K", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSAutoDisable": true, - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.get_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.delete_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "memcache.decr_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "D", - "metric": "memcache.incr_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "E", - "metric": "memcache.cas_hits", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "F", - "metric": "memcache.get_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "G", - "metric": "memcache.delete_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "H", - "metric": "memcache.decr_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "I", - "metric": "memcache.incr_misses", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "J", - "metric": "memcache.cas_misses", - "output": false - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "memcache_hit_ratio:hit ratio", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "memcache_hits=fetch('memcached.commands.hits.count')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_misses=fetch('memcached.commands.misses.count')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_total_ops=memcache_hits.add(memcache_misses);\nmemcache_hit_ratio=memcache_hits.div(memcache_total_ops);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Hit Ratio", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "memcache_evictions=fetch('memcached.evictions.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": "", + "title": "Eviction Rate", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [ - { - "errors": [], - "expr": "b/(a+b)", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.cmd_set", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.cmd_get", - "output": false - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "memcache_gets=fetch('memcached.commands.count', align='30s', rate='true')$global_tag_filter.tag_filter('command==get').downsample('[[__interval]]', 'max').sum();\nmemcache_sets=fetch('memcached.commands.count', align='30s', rate='true')$global_tag_filter.tag_filter('command==set').downsample('[[__interval]]', 'max').sum();\nmemcache_total_ops=memcache_gets.add(memcache_sets, ignore='command');\nmemcache_get_ratio=memcache_gets.div(memcache_total_ops, ignore='command');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Get/Set Ratio", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "metrics": [], + "refId": "A", + "ts": { + "alias": "memcache_hit_ratio:hit ratio", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "memcache_hits=fetch('memcached.commands.hits.count')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_misses=fetch('memcached.commands.misses.count')$global_tag_filter.downsample('[[__interval]]', 'max').sum(without='command');\nmemcache_total_ops=memcache_hits.add(memcache_misses);\nmemcache_hit_ratio=memcache_hits.div(memcache_total_ops);" }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Hit Ratio", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": { - "Items in memory": "#806EB7", - "Limit": "#F4D598" + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "memcache_gets=fetch('memcached.commands.count', align='30s', rate='true')$global_tag_filter.tag_filter('command==get').downsample('[[__interval]]', 'max').sum();\nmemcache_sets=fetch('memcached.commands.count', align='30s', rate='true')$global_tag_filter.tag_filter('command==set').downsample('[[__interval]]', 'max').sum();\nmemcache_total_ops=memcache_gets.add(memcache_sets, ignore='command');\nmemcache_get_ratio=memcache_gets.div(memcache_total_ops, ignore='command');" }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 7, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [ - { - "alias": "Fill %", - "errors": [], - "expr": "a/b", - "id": "D", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "In Use", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.bytes", - "output": false - }, - { - "agg": "global default", - "alias": "Limit", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.limit_maxbytes", - "output": false - }, - { - "agg": "global default", - "alias": "Items in memory", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "memcache.curr_items", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "Items in memory", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "memcache_fill_percent:fill %;memcache_current_items:Items in memory", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 5, - "output": true, - "query": "memcache_bytes_used=fetch('memcached.memory.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemcache_bytes_limit=fetch('memcached.memory.limit.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemcache_current_items=fetch('memcached.items')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemcache_fill_percent=memcache_bytes_used.div(memcache_bytes_limit, ignore='state');\noutput(memcache_fill_percent, memcache_current_items);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Memory Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Get/Set Ratio", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": { + "Items in memory": "#806EB7", + "Limit": "#F4D598" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "in", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.bytes_read", - "output": true - }, - { - "agg": "global default", - "alias": "out", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.bytes_written", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "memcache_bytes_in:$t(host)-in;memcache_bytes_out:$t(host)-out", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 5, - "output": true, - "query": "memcache_bytes_in=fetch('memcached.network.bytes.count', align='30s', rate='true')$global_tag_filter.tag_filter('direction==in').downsample('[[__interval]]', 'avg');\nmemcache_bytes_out=fetch('memcached.network.bytes.count', align='30s', rate='true')$global_tag_filter.tag_filter('direction==out').downsample('[[__interval]]', 'avg');\nzero=0;\nmemcache_bytes_out=zero.sub(memcache_bytes_out);\noutput(memcache_bytes_in, memcache_bytes_out);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Network IO", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "alias": "Items in memory", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "memcache_fill_percent:fill %;memcache_current_items:Items in memory", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 5, + "output": true, + "query": "memcache_bytes_used=fetch('memcached.memory.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemcache_bytes_limit=fetch('memcached.memory.limit.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemcache_current_items=fetch('memcached.items')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemcache_fill_percent=memcache_bytes_used.div(memcache_bytes_limit, ignore='state');\noutput(memcache_fill_percent, memcache_current_items);" }, - "yaxes": [ - { - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 28 + }, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.evictions", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "memcache_evictions=fetch('memcached.evictions.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Eviction Rate", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "metrics": [], + "refId": "A", + "ts": { + "alias": "memcache_bytes_in:$t(host)-in;memcache_bytes_out:$t(host)-out", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 5, + "output": true, + "query": "memcache_bytes_in=fetch('memcached.network.bytes.count', align='30s', rate='true')$global_tag_filter.tag_filter('direction==in').downsample('[[__interval]]', 'avg');\nmemcache_bytes_out=fetch('memcached.network.bytes.count', align='30s', rate='true')$global_tag_filter.tag_filter('direction==out').downsample('[[__interval]]', 'avg');\nzero=0;\nmemcache_bytes_out=zero.sub(memcache_bytes_out);\noutput(memcache_bytes_in, memcache_bytes_out);" }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Network IO", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 35 + }, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": { - "yields": "#967302" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": false, - "timeSeries": [ - { - "agg": "global default", - "alias": "connections", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.curr_connections", - "output": true - }, - { - "agg": "global default", - "alias": "listen_disabled", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.listen_disabled_num", - "output": true - }, - { - "agg": "global default", - "alias": "yields", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "memcache.conn_yields", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "memcache.listen_disabled_num{dataset: default, host: centos6}", - "yaxis": 2 - }, - { - "alias": "memcache.conn_yields{dataset: default, host: centos6}", - "yaxis": 2 - }, - { - "alias": "listen_disabled", - "yaxis": 2 - }, - { - "alias": "yields", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "memcache_curr_connections:$t(host)-connections;memcache_conn_errors:$t(host)-$t(state)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "memcache_curr_connections=fetch('memcached.connections')$global_tag_filter.downsample('[[__interval]]', 'max');\nmemcache_conn_errors=fetch('memcached.connections.error.count')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(memcache_curr_connections, memcache_conn_errors);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Connections", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "memcache_evictions=fetch('memcached.evictions.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Eviction Rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": { + "yields": "#967302" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": { - "system": "#EF843C", - "user": "#7EB26D" - }, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 13, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "system", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "memcache.rusage_system", - "output": true - }, - { - "agg": "global default", - "alias": "user", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "memcache.rusage_user", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": true, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "memcache_cpu_time:$t(host)-$t(stat)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "memcache_cpu_time=fetch('memcached.cpu.seconds.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host,stat');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Memcached CPU Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "alias": "memcache.listen_disabled_num{dataset: default, host: centos6}", + "yaxis": 2 + }, + { + "alias": "memcache.conn_yields{dataset: default, host: centos6}", + "yaxis": 2 + }, + { + "alias": "listen_disabled", + "yaxis": 2 + }, + { + "alias": "yields", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "memcache_curr_connections:$t(host)-connections;memcache_conn_errors:$t(host)-$t(state)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "memcache_curr_connections=fetch('memcached.connections')$global_tag_filter.downsample('[[__interval]]', 'max');\nmemcache_conn_errors=fetch('memcached.connections.error.count')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(memcache_curr_connections, memcache_conn_errors);" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Connections", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "system": "#EF843C", + "user": "#7EB26D" + }, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 49 + }, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "memcache_cpu_time:$t(host)-$t(stat)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "memcache_cpu_time=fetch('memcached.cpu.seconds.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host,stat');" }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memcached CPU Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [], "templating": { @@ -2833,5 +1316,6 @@ }, "timezone": "", "title": "Memcache Metrics", - "version": 7 -} + "uid": "kTd5uLxmk", + "version": 1 +} \ No newline at end of file diff --git a/MySQL Metrics.json b/MySQL Metrics.json index 43f9181..a2c5d50 100644 --- a/MySQL Metrics.json +++ b/MySQL Metrics.json @@ -27,19 +27,19 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -48,6431 +48,2706 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": 150, - "panels": [ + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 29, + "panels": [], + "repeat": null, + "title": "Overview", + "type": "row" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 1 + }, + "id": 23, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 23, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.queries", - "output": true - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_query_rate=fetch('mysql.queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]','max').sum();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "QPS", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 25, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.connections", - "output": true - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_connection_rate=fetch('mysql.connections.total.count', rate='true')$global_tag_filter.downsample('$__interval','max').sum();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Connections/sec", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_query_rate=fetch('mysql.queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]','max').sum();" + }, + "type": "Query" + } + ], + "thresholds": "", + "title": "QPS", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 1 + }, + "id": 25, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 24, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "last", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.slow_queries", - "output": true - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_slow_query_rate=fetch('mysql.queries.slow_queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Slow Queries", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_connection_rate=fetch('mysql.connections.total.count', rate='true')$global_tag_filter.downsample('$__interval','max').sum();" + }, + "type": "Query" + } + ], + "thresholds": "", + "title": "Connections/sec", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 8, + "y": 1 + }, + "id": 24, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 26, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "errors": [], - "expr": "A+B", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.aborted_clients", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.aborted_connects", - "output": false - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_aborted_clients=fetch('mysql.connections.aborted_clients.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmysql_aborted_connects=fetch('mysql.connections.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmysql_aborted_total_connections=mysql_aborted_clients.add(mysql_aborted_connects, ignore='state');" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Aborted Clients/Connects", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_slow_query_rate=fetch('mysql.queries.slow_queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();" + }, + "type": "Query" + } + ], + "thresholds": "", + "title": "Slow Queries", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 1 + }, + "id": 26, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "percentunit", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 27, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "errors": [], - "expr": "a/(a+b)", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "min", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.innodb_buffer_pool_read_requests", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.innodb_buffer_pool_reads", - "output": false - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "mysql_bufpool_read_req=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read_req').downsample('[[__interval]]', 'min');\nmysql_bufpool_reads=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read').downsample('[[__interval]]', 'min');\nmysql_bufpool_total_reads=mysql_bufpool_read_req.add(mysql_bufpool_reads, ignore='state');\nmysql_bufpool_hit_ratio=mysql_bufpool_read_req.div(mysql_bufpool_total_reads, ignore='state').avg();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Buffer Pool Hit Ratio", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_aborted_clients=fetch('mysql.connections.aborted_clients.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmysql_aborted_connects=fetch('mysql.connections.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').sum();\nmysql_aborted_total_connections=mysql_aborted_clients.add(mysql_aborted_connects, ignore='state');" + }, + "type": "Query" + } + ], + "thresholds": "", + "title": "Aborted Clients/Connects", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "percentunit", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 16, + "y": 1 + }, + "id": 27, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "percentunit", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 28, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "alias": "% dirty pages", - "errors": [], - "expr": "a/b", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.innodb_buffer_pool_pages_dirty", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.innodb_buffer_pool_pages_data", - "output": false - } - ] - } - }, - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_dirty_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==dirty').downsample('[[__interval]]', 'max');\nmysql_total_data_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==data').downsample('[[__interval]]', 'max');\nmysql_dirty_page_percent=mysql_total_data_pages.div(mysql_total_data_pages, ignore='state').max();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "% Dirty Pages", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "mysql_bufpool_read_req=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read_req').downsample('[[__interval]]', 'min');\nmysql_bufpool_reads=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read').downsample('[[__interval]]', 'min');\nmysql_bufpool_total_reads=mysql_bufpool_read_req.add(mysql_bufpool_reads, ignore='state');\nmysql_bufpool_hit_ratio=mysql_bufpool_read_req.div(mysql_bufpool_total_reads, ignore='state').avg();" + }, + "type": "Query" + } + ], + "thresholds": "", + "title": "Buffer Pool Hit Ratio", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "percentunit", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 20, + "y": 1 + }, + "id": 28, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 } ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_dirty_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==dirty').downsample('[[__interval]]', 'max');\nmysql_total_data_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==data').downsample('[[__interval]]', 'max');\nmysql_dirty_page_percent=mysql_total_data_pages.div(mysql_total_data_pages, ignore='state').max();" + }, + "type": "Query" + } + ], + "thresholds": "", + "title": "% Dirty Pages", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 5 + }, + "id": 30, + "panels": [], "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Overview", - "titleSize": "h6" + "title": "Commands", + "type": "row" }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": { + "Total Queries": "#0A437C" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 6 + }, + "id": 5, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": { - "Total Queries": "#0A437C" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 5, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "null", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "select", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.com_select", - "output": true - }, - { - "agg": "global default", - "alias": "insert", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.com_insert", - "output": true - }, - { - "agg": "global default", - "alias": "insert_select", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "C", - "metric": "mysql.com_insert_select", - "output": true - }, - { - "agg": "global default", - "alias": "update", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "D", - "metric": "mysql.com_update", - "output": true - }, - { - "agg": "global default", - "alias": "update_multi", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "E", - "metric": "mysql.com_update_multi", - "output": true - }, - { - "agg": "global default", - "alias": "delete", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "F", - "metric": "mysql.com_delete", - "output": true - }, - { - "agg": "global default", - "alias": "delete_multi", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "G", - "metric": "mysql.com_delete_multi", - "output": true - }, - { - "agg": "global default", - "alias": "commit", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "H", - "metric": "mysql.com_commit", - "output": true - }, - { - "agg": "global default", - "alias": "begin", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "I", - "metric": "mysql.com_begin", - "output": true - }, - { - "agg": "global default", - "alias": "Total Queries", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "J", - "metric": "mysql.queries", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "Total Queries", - "yaxis": 1 - } - ], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_all_commands:$t(command);mysql_total_commands:Total Commands;mysql_total_queries:Total Queries", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "mysql_all_commands=fetch('mysql.commands.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='command');\nmysql_total_commands=fetch('mysql.commands.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(without='command');\nmysql_total_queries=fetch('mysql.queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\noutput(mysql_all_commands, mysql_total_commands, mysql_total_queries);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Common Commands", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "alias": "Total Queries", + "yaxis": 1 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_all_commands:$t(command);mysql_total_commands:Total Commands;mysql_total_queries:Total Queries", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "mysql_all_commands=fetch('mysql.commands.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='command');\nmysql_total_commands=fetch('mysql.commands.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(without='command');\nmysql_total_queries=fetch('mysql.queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\noutput(mysql_all_commands, mysql_total_commands, mysql_total_queries);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Common Commands", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 9, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "scan", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.select_scan", - "output": true - }, - { - "agg": "global default", - "alias": "full join", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.select_full_join", - "output": true - }, - { - "agg": "global default", - "alias": "full range join", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "C", - "metric": "mysql.select_full_range_join", - "output": true - }, - { - "agg": "global default", - "alias": "range", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "D", - "metric": "mysql.select_range", - "output": true - }, - { - "agg": "global default", - "alias": "range check", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "E", - "metric": "mysql.select_range_check", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_select_scan_types:$t(select_type)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_select_scan_types=fetch('mysql.commands.select.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='select_type');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Select command types", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 13 + }, + "id": 9, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_select_scan_types:$t(select_type)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_select_scan_types=fetch('mysql.commands.select.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='select_type');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Select command types", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 12, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "commit", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.handler_commit", - "output": true - }, - { - "agg": "global default", - "alias": "delete", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.handler_delete", - "output": true - }, - { - "agg": "global default", - "alias": "discover", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "C", - "metric": "mysql.handler_discover", - "output": true - }, - { - "agg": "global default", - "alias": "prepare", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "D", - "metric": "mysql.handler_prepare", - "output": true - }, - { - "agg": "global default", - "alias": "read_first", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "E", - "metric": "mysql.handler_read_first", - "output": true - }, - { - "agg": "global default", - "alias": "read_key", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "F", - "metric": "mysql.handler_read_key", - "output": true - }, - { - "agg": "global default", - "alias": "read_next", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "G", - "metric": "mysql.handler_read_next", - "output": true - }, - { - "agg": "global default", - "alias": "read_prev", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "H", - "metric": "mysql.handler_read_prev", - "output": true - }, - { - "agg": "global default", - "alias": "read_rnd", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "I", - "metric": "mysql.handler_read_rnd", - "output": true - }, - { - "agg": "global default", - "alias": "read_rnd_next", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "J", - "metric": "mysql.handler_read_rnd_next", - "output": true - }, - { - "agg": "global default", - "alias": "rollback", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "K", - "metric": "mysql.handler_rollback", - "output": true - }, - { - "agg": "global default", - "alias": "savepoint", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "L", - "metric": "mysql.handler_savepoint", - "output": true - }, - { - "agg": "global default", - "alias": "savepoint_rollback", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "M", - "metric": "mysql.handler_savepoint_rollback", - "output": true - }, - { - "agg": "global default", - "alias": "update", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "N", - "metric": "mysql.handler_update", - "output": true + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 20 + }, + "id": 12, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_handlers:$t(handler)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_handlers=fetch('mysql.handlers.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Handler", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 27 + }, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_slow_query_rate=fetch('mysql.queries.slow_queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Slow Queries", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 34 + }, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_num_merge_passes:Merge Passes;mysql_sort_types:$t(sort_type);mysql_sort_scanned_rows:Rows Scanned", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "mysql_num_merge_passes=fetch('mysql.queries.sort.merge_passes.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'sum');\nmysql_sort_types=fetch('mysql.queries.sort.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'sum');\nmysql_sort_scanned_rows=fetch('mysql.queries.sort.rows.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'sum');\noutput(mysql_num_merge_passes, mysql_sort_types, mysql_sort_scanned_rows);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Sorts", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 41 + }, + "id": 31, + "panels": [], + "repeat": null, + "title": "Connections", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 42 + }, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_connections=fetch('mysql.connections.total.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Connections/sec", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "aborted clients": "#EF843C" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 42 + }, + "id": 8, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_aborted_clients:Aborted Clients;mysql_aborted_connections:Aborted Connections", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_aborted_clients=fetch('mysql.connections.aborted_clients.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_aborted_connections=fetch('mysql.connections.count', rate='true')$global_tag_filter.tag_filter('state=aborted').downsample('[[__interval]]', 'max');\noutput(mysql_aborted_clients, mysql_aborted_connections);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Aborted Clients/Connects", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 49 + }, + "id": 32, + "panels": [], + "repeat": null, + "title": "Dashboard Row", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 50 + }, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_table_locks_rate:$t(status)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_table_locks_rate=fetch('mysql.table_locks.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Table Locks", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 57 + }, + "id": 33, + "panels": [], + "repeat": null, + "title": "Dashboard Row", + "type": "row" + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 58 + }, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_network_incoming:in;mysql_network_outgoing:out", + "errors": [ + { + "eCol": 0, + "line": 3, + "message": "Invalid argument value. Expected non-empty Data Frame on RHS for operation 'sub', got empty RHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frame on RHS for operation 'sub', got empty RHS.", + "queryColumnOffset": -1, + "queryLineNo": 4 }, - { - "agg": "global default", - "alias": "write", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "O", - "metric": "mysql.handler_write", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_handlers:$t(handler)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_handlers=fetch('mysql.handlers.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Handler", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "sCol": 0 + } + ], + "id": "A", + "lineStart": 1, + "numLines": 5, + "output": true, + "query": "mysql_network_incoming=fetch('mysql.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction==in').downsample('[[__interval]]', 'avg');\nmysql_network_out=fetch('mysql.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction==out').downsample('[[__interval]]', 'avg');\nzero=0;\nmysql_network_outgoing=zero.sub(mysql_network_out);\noutput(mysql_network_incoming, mysql_network_outgoing);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Network IO", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 13, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.slow_queries", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_slow_query_rate=fetch('mysql.queries.slow_queries.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Slow Queries", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 65 + }, + "id": 34, + "panels": [], + "repeat": null, + "title": "Dashboard Row", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 66 + }, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_running_threads:running;mysql_connected_threads:connected", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_running_threads=fetch('mysql.threads.running')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_connected_threads=fetch('mysql.threads.connected')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_running_threads, mysql_connected_threads);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Threads", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 73 + }, + "id": 35, + "panels": [], + "repeat": null, + "title": "Query Cache", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 74 + }, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_qcache_free_blocks:free blocks;mysql_qcache_total_blocks:total blocks", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_qcache_free_blocks=fetch('mysql.queries.cache.blocks')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_total_blocks=fetch('mysql.queries.cache.blocks.total')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\noutput(mysql_qcache_free_blocks, mysql_qcache_total_blocks);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Query Cache Memory", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "queries in cache": "#82B5D8" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 74 + }, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_qcache_hits:hits;mysql_qcache_inserts:inserts;mysql_qcache_prunes:lowmem prunes;mysql_qcache_notcached:not cached;mysql_qcache_queries_in_cache:queries in cache", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 6, + "output": true, + "query": "mysql_qcache_hits=fetch('mysql.queries.cache.hits.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_inserts=fetch('mysql.queries.cache.inserts.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_prunes=fetch('mysql.queries.cache.lowmem_prunes.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_notcached=fetch('mysql.queries.cache.not_cached.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_queries_in_cache=fetch('mysql.queries.cache.queries_in_cache.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\noutput(mysql_qcache_hits, mysql_qcache_inserts, mysql_qcache_prunes, mysql_qcache_notcached, mysql_qcache_queries_in_cache);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Query Cache Activity", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 81 + }, + "id": 36, + "panels": [], + "repeat": null, + "title": "InnoDB", + "type": "row" + }, + { + "aliasColors": { + "mysql.innodb_buffer_pool_pages_misc{host: centos6, schema: default}": "#1F78C1" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 82 + }, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_buffer_pool_free_pages:free;mysql_buffer_pool_data_pages:data;mysql_buffer_pool_misc_pages:misc", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 5, + "output": true, + "query": "mysql_buffer_pool_page_size=fetch('mysql.innodb.page_size.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_buffer_pool_free_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum().mult(mysql_buffer_pool_page_size, ignore='state');\nmysql_buffer_pool_data_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==data').downsample('[[__interval]]', 'avg').sum().mult(mysql_buffer_pool_page_size, ignore='state');\nmysql_buffer_pool_misc_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==misc').downsample('[[__interval]]', 'avg').sum().mult(mysql_buffer_pool_page_size, ignore='state');\noutput(mysql_buffer_pool_free_pages, mysql_buffer_pool_data_pages, mysql_buffer_pool_misc_pages);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Buffer Pool", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "sum", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "merge passes", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.sort_merge_passes", - "output": true - }, - { - "agg": "global default", - "alias": "range", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.sort_range", - "output": true - }, - { - "agg": "global default", - "alias": "rows", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "C", - "metric": "mysql.sort_rows", - "output": true - }, - { - "agg": "global default", - "alias": "scan", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "D", - "metric": "mysql.sort_scan", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_num_merge_passes:Merge Passes;mysql_sort_types:$t(sort_type);mysql_sort_scanned_rows:Rows Scanned", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "mysql_num_merge_passes=fetch('mysql.queries.sort.merge_passes.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'sum');\nmysql_sort_types=fetch('mysql.queries.sort.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'sum');\nmysql_sort_scanned_rows=fetch('mysql.queries.sort.rows.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'sum');\noutput(mysql_num_merge_passes, mysql_sort_types, mysql_sort_scanned_rows);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Sorts", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": true, - "title": "Commands", - "titleSize": "h3" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 82 + }, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.connections", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_connections=fetch('mysql.connections.total.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Connections/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "mysql_bpool_read_reqs=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read_req').downsample('[[__interval]]', 'avg').sum();\nmysql_bpool_reads=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read').downsample('[[__interval]]', 'avg').sum();\nmysql_bpool_total_reads=mysql_bpool_read_reqs.add(mysql_bpool_reads, ignore='state');\nmysql_bpool_hit_ratio=mysql_bpool_read_reqs.div(mysql_bpool_total_reads, ignore='state');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Buffer Pool Hit Ratio", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "aliasColors": { - "aborted clients": "#EF843C" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 8, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "aborted clients", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.aborted_clients", - "output": true - }, - { - "agg": "global default", - "alias": "aborted connects", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.aborted_connects", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_aborted_clients:Aborted Clients;mysql_aborted_connections:Aborted Connections", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_aborted_clients=fetch('mysql.connections.aborted_clients.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_aborted_connections=fetch('mysql.connections.count', rate='true')$global_tag_filter.tag_filter('state=aborted').downsample('[[__interval]]', 'max');\noutput(mysql_aborted_clients, mysql_aborted_connections);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Aborted Clients/Connects", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": true, - "title": "Connections", - "titleSize": "h3" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 89 + }, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "immediate", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.table_locks_immediate", - "output": true - }, - { - "agg": "global default", - "alias": "waited", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.table_locks_waited", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_table_locks_rate:$t(status)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_table_locks_rate=fetch('mysql.table_locks.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Table Locks", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "mysql_bpool_dirty_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==dirty').downsample('[[__interval]]', 'avg').sum();\nmysql_bpool_data_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==data').downsample('[[__interval]]', 'avg').sum();\nmysql_dirty_page_percent=mysql_bpool_dirty_pages.div(mysql_bpool_data_pages, ignore='state');\noutput(mysql_dirty_page_percent);" + }, + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "% Dirty Pages", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": "250px", - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "description": "Normally, writes to the InnoDB Buffer Pool happen in the background. However, if it is necessary to read or create a page and no clean pages are available, it is also necessary to wait for pages to be flushed first. The Innodb_buffer_pool_wait_free counter counts how many times this has happened. Innodb_buffer_pool_wait_free greater than 0 is a strong indicator that the InnoDB Buffer Pool is too small.", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 89 + }, + "id": 17, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "alias": "out", - "errors": [], - "expr": "-a", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.bytes_sent", - "output": false - }, - { - "agg": "global default", - "alias": "in", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.bytes_received", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_network_incoming:in;mysql_network_outgoing:out", - "errors": [ - { - "eCol": 0, - "line": 3, - "message": "Invalid argument value. Expected non-empty Data Frame on RHS for operation 'sub', got empty RHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frame on RHS for operation 'sub', got empty RHS.", - "queryColumnOffset": -1, - "queryLineNo": 4 - }, - "sCol": 0 - } - ], - "id": "A", - "lineStart": 1, - "numLines": 5, - "output": true, - "query": "mysql_network_incoming=fetch('mysql.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction==in').downsample('[[__interval]]', 'avg');\nmysql_network_out=fetch('mysql.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction==out').downsample('[[__interval]]', 'avg');\nzero=0;\nmysql_network_outgoing=zero.sub(mysql_network_out);\noutput(mysql_network_incoming, mysql_network_outgoing);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Network IO", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_buffer_pool_wait_free=fetch('mysql.innodb.buffer_pool.wait_free.count')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();" + }, + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Waiting for flush", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "description": "A value much higher that 1 is an indicator of a good locality of data", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 96 + }, + "id": 18, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 3, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": false, - "timeSeries": [ - { - "agg": "global default", - "alias": "running", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.threads_running", - "output": true - }, - { - "agg": "global default", - "alias": "connected", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.threads_connected", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_running_threads:running;mysql_connected_threads:connected", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_running_threads=fetch('mysql.threads.running')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_connected_threads=fetch('mysql.threads.connected')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_running_threads, mysql_connected_threads);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Threads", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_bpool_write_requests=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==write_req').downsample('[[__interval]]','max');\nmysql_bpool_pages_flushed=fetch('mysql.innodb.buffer_pool.pages.flush.count', rate='true')$global_tag_filter.downsample('[[__interval]]','max');\nmysql_bpool_changed_rows_per_block=mysql_bpool_write_requests.div(mysql_bpool_pages_flushed,ignore='state');" + }, + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Changed rows per block", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 96 + }, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "free blocks", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.qcache_free_blocks", - "output": true - }, - { - "agg": "global default", - "alias": "total blocks", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.qcache_total_blocks", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_qcache_free_blocks:free blocks;mysql_qcache_total_blocks:total blocks", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_qcache_free_blocks=fetch('mysql.queries.cache.blocks')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_total_blocks=fetch('mysql.queries.cache.blocks.total')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\noutput(mysql_qcache_free_blocks, mysql_qcache_total_blocks);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Query Cache Memory", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_innodb_locks_os_waits:os_waits;mysql_innodb_locks_rounds:rounds;mysql_innodb_locks_spin_waits:spin_waits", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "mysql_innodb_locks_os_waits=fetch('mysql.innodb.locks.os_waits.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_innodb_locks_rounds=fetch('mysql.innodb.locks.rounds.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_innodb_locks_spin_waits=fetch('mysql.innodb.locks.mutex_spin_waits.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_innodb_locks_os_waits, mysql_innodb_locks_rounds, mysql_innodb_locks_spin_waits);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "InnoDB Locks", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "aliasColors": { - "queries in cache": "#82B5D8" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 7, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "hits", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "mysql.qcache_hits", - "output": true - }, - { - "agg": "global default", - "alias": "inserts", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "mysql.qcache_inserts", - "output": true - }, - { - "agg": "global default", - "alias": "lowmem prunes", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "C", - "metric": "mysql.qcache_lowmem_prunes", - "output": true - }, - { - "agg": "global default", - "alias": "not cached", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "D", - "metric": "mysql.qcache_not_cached", - "output": true - }, - { - "agg": "global default", - "alias": "queries in cache", - "errors": [], - "fill": "nan", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-centos69", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "E", - "metric": "mysql.qcache_queries_in_cache", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_qcache_hits:hits;mysql_qcache_inserts:inserts;mysql_qcache_prunes:lowmem prunes;mysql_qcache_notcached:not cached;mysql_qcache_queries_in_cache:queries in cache", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 6, - "output": true, - "query": "mysql_qcache_hits=fetch('mysql.queries.cache.hits.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_inserts=fetch('mysql.queries.cache.inserts.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_prunes=fetch('mysql.queries.cache.lowmem_prunes.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_notcached=fetch('mysql.queries.cache.not_cached.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_qcache_queries_in_cache=fetch('mysql.queries.cache.queries_in_cache.count', rate=\"true\")$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\noutput(mysql_qcache_hits, mysql_qcache_inserts, mysql_qcache_prunes, mysql_qcache_notcached, mysql_qcache_queries_in_cache);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Query Cache Activity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": true, - "title": "Query Cache", - "titleSize": "h3" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 103 + }, + "id": 19, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": { - "mysql.innodb_buffer_pool_pages_misc{host: centos6, schema: default}": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [ - { - "alias": "free", - "errors": [], - "expr": "B*E", - "id": "F", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - }, - { - "alias": "data", - "errors": [], - "expr": "D*E", - "id": "G", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - }, - { - "alias": "misc", - "errors": [], - "expr": "C*E", - "id": "H", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_buffer_pool_pages_total", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb_buffer_pool_pages_free", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "D", - "metric": "mysql.innodb_buffer_pool_pages_data", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "mysql.innodb_buffer_pool_pages_misc", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "E", - "metric": "mysql.innodb_page_size", - "output": false - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": true, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_buffer_pool_free_pages:free;mysql_buffer_pool_data_pages:data;mysql_buffer_pool_misc_pages:misc", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 5, - "output": true, - "query": "mysql_buffer_pool_page_size=fetch('mysql.innodb.page_size.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmysql_buffer_pool_free_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum().mult(mysql_buffer_pool_page_size, ignore='state');\nmysql_buffer_pool_data_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==data').downsample('[[__interval]]', 'avg').sum().mult(mysql_buffer_pool_page_size, ignore='state');\nmysql_buffer_pool_misc_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==misc').downsample('[[__interval]]', 'avg').sum().mult(mysql_buffer_pool_page_size, ignore='state');\noutput(mysql_buffer_pool_free_pages, mysql_buffer_pool_data_pages, mysql_buffer_pool_misc_pages);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Buffer Pool", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_row_operations:$t(operation)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "mysql_row_operations=fetch('mysql.innodb.row_operations.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Row operations", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "errors": [], - "expr": "a/(a+b)", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_buffer_pool_read_requests", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb_buffer_pool_reads", - "output": false - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "mysql_bpool_read_reqs=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read_req').downsample('[[__interval]]', 'avg').sum();\nmysql_bpool_reads=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==read').downsample('[[__interval]]', 'avg').sum();\nmysql_bpool_total_reads=mysql_bpool_read_reqs.add(mysql_bpool_reads, ignore='state');\nmysql_bpool_hit_ratio=mysql_bpool_read_reqs.div(mysql_bpool_total_reads, ignore='state');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Buffer Pool Hit Ratio", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 15, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [ - { - "alias": "% dirty pages", - "errors": [], - "expr": "a/b", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_buffer_pool_pages_dirty", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb_buffer_pool_pages_data", - "output": false - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "mysql_bpool_dirty_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==dirty').downsample('[[__interval]]', 'avg').sum();\nmysql_bpool_data_pages=fetch('mysql.innodb.buffer_pool.pages')$global_tag_filter.tag_filter('state==data').downsample('[[__interval]]', 'avg').sum();\nmysql_dirty_page_percent=mysql_bpool_dirty_pages.div(mysql_bpool_data_pages, ignore='state');\noutput(mysql_dirty_page_percent);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "% Dirty Pages", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 103 + }, + "id": 20, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "description": "Normally, writes to the InnoDB Buffer Pool happen in the background. However, if it is necessary to read or create a page and no clean pages are available, it is also necessary to wait for pages to be flushed first. The Innodb_buffer_pool_wait_free counter counts how many times this has happened. Innodb_buffer_pool_wait_free greater than 0 is a strong indicator that the InnoDB Buffer Pool is too small.", - "fill": 1, - "id": 17, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_buffer_pool_wait_free", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_buffer_pool_wait_free=fetch('mysql.innodb.buffer_pool.wait_free.count')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Waiting for flush", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, + "alias": "/waits/", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "description": "A value much higher that 1 is an indicator of a good locality of data", - "fill": 1, - "id": 18, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "alias": "", - "errors": [], - "expr": "a/b", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "null", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_buffer_pool_write_requests", - "output": false - }, - { - "agg": "global default", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb_buffer_pool_pages_flushed", - "output": false - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_bpool_write_requests=fetch('mysql.innodb.buffer_pool.count', rate='true')$global_tag_filter.tag_filter('state==write_req').downsample('[[__interval]]','max');\nmysql_bpool_pages_flushed=fetch('mysql.innodb.buffer_pool.pages.flush.count', rate='true')$global_tag_filter.downsample('[[__interval]]','max');\nmysql_bpool_changed_rows_per_block=mysql_bpool_write_requests.div(mysql_bpool_pages_flushed,ignore='state');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Changed rows per block", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_row_lock_time:$t(host) (lock time);mysql_row_lock_waits:$t(host) (waits)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_row_lock_time=fetch('mysql.innodb.row_lock.milliseconds.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');\nmysql_row_lock_waits=fetch('mysql.innodb_row_lock_waits', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');\noutput(mysql_row_lock_time, mysql_row_lock_waits);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Row Locks", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 11, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "os_waits", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb.locks.os_waits", - "output": true - }, - { - "agg": "global default", - "alias": "rounds", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb.locks.rounds", - "output": true - }, - { - "agg": "global default", - "alias": "spin_waits", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "mysql.innodb.locks.spin_waits", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_innodb_locks_os_waits:os_waits;mysql_innodb_locks_rounds:rounds;mysql_innodb_locks_spin_waits:spin_waits", - "errors": [ - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 0, - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "original": { - "errorType": "ERROR_FETCHING_FROM_DATASOURCE", - "message": "Requested metrics(mysql.innodb.locks.os_waits.count) not found", - "queryColumnOffset": -1, - "queryLineNo": 1 - }, - "sCol": 0 - } - ], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "mysql_innodb_locks_os_waits=fetch('mysql.innodb.locks.os_waits.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_innodb_locks_rounds=fetch('mysql.innodb.locks.rounds.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_innodb_locks_spin_waits=fetch('mysql.innodb.locks.mutex_spin_waits.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_innodb_locks_os_waits, mysql_innodb_locks_rounds, mysql_innodb_locks_spin_waits);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Locks", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 19, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "deleted", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_rows_deleted", - "output": true - }, - { - "agg": "global default", - "alias": "inserted", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb_rows_inserted", - "output": true - }, - { - "agg": "global default", - "alias": "read", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "mysql.innodb_rows_read", - "output": true - }, - { - "agg": "global default", - "alias": "updated", - "errors": [], - "fill": "nan", - "filters": [], - "id": "D", - "metric": "mysql.innodb_rows_updated", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_row_operations:$t(operation)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "mysql_row_operations=fetch('mysql.innodb.row_operations.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Row operations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "fsyncs": "#1F78C1", + "log waits": "#E24D42", + "mysql.innodb_log_waits{host: centos6, schema: default}": "#E24D42" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 110 + }, + "id": 22, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 20, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "lock time", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_row_lock_time", - "output": true - }, - { - "agg": "global default", - "alias": "waits", - "errors": [], - "fill": "nan", - "filters": [], - "id": "E", - "metric": "mysql.innodb_row_lock_waits", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "/waits/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_row_lock_time:$t(host) (lock time);mysql_row_lock_waits:$t(host) (waits)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_row_lock_time=fetch('mysql.innodb.row_lock.milliseconds.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');\nmysql_row_lock_waits=fetch('mysql.innodb_row_lock_waits', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');\noutput(mysql_row_lock_time, mysql_row_lock_waits);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Row Locks", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - } - ] + "alias": "fsyncs", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_os_logs_written:written;mysql_os_log_fsyncs=fsyncs;mysql_innodb_log_waits=log_waits", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 4, + "output": true, + "query": "mysql_os_logs_written=fetch('mysql.innodb.redo_log.os_file.bytes.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_os_log_fsyncs=fetch('mysql.innodb.redo_log.fsyncs.count', rate='true')$global_tag_filter.tag_filter('stat==os_log').downsample('[[__interval]]', 'max');\nmysql_innodb_log_waits=fetch('mysql.innodb.redo_log_buffer.log_wait.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_os_logs_written, mysql_os_log_fsyncs, mysql_innodb_log_waits);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Redo Log I/O", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": { - "fsyncs": "#1F78C1", - "log waits": "#E24D42", - "mysql.innodb_log_waits{host: centos6, schema: default}": "#E24D42" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 22, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "none", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "written", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb_os_log_written", - "output": true - }, - { - "agg": "global default", - "alias": "fsyncs", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "mysql.innodb_os_log_fsyncs", - "output": true - }, - { - "agg": "global default", - "alias": "log waits", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_log_waits", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "fsyncs", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_os_logs_written:written;mysql_os_log_fsyncs=fsyncs;mysql_innodb_log_waits=log_waits", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 4, - "output": true, - "query": "mysql_os_logs_written=fetch('mysql.innodb.redo_log.os_file.bytes.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\nmysql_os_log_fsyncs=fetch('mysql.innodb.redo_log.fsyncs.count', rate='true')$global_tag_filter.tag_filter('stat==os_log').downsample('[[__interval]]', 'max');\nmysql_innodb_log_waits=fetch('mysql.innodb.redo_log_buffer.log_wait.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_os_logs_written, mysql_os_log_fsyncs, mysql_innodb_log_waits);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Redo Log I/O", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "fsyncs": "#1F78C1" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 110 + }, + "id": 21, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "fsyncs", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mysql_innodb_data_bytes:$t(stat);mysql_innodb_log_fsyncs:fsyncs", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "mysql_innodb_log_fsyncs=fetch('mysql.innodb.redo_log.fsyncs.count', rate='true')$global_tag_filter.tag_filter('stat==innodb').downsample('[[__interval]]', 'max');\nmysql_innodb_data_bytes=fetch('mysql.innodb.data.bytes.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_innodb_data_bytes, mysql_innodb_log_fsyncs);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Datafile I/O", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": { - "fsyncs": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 21, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "max", - "gDSFill": "null", - "gNewCode": true, - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "read", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "metric": "mysql.innodb_data_read", - "output": true - }, - { - "agg": "global default", - "alias": "written", - "errors": [], - "fill": "nan", - "filters": [], - "id": "B", - "metric": "mysql.innodb_data_written", - "output": true - }, - { - "agg": "global default", - "alias": "fsyncs", - "errors": [], - "fill": "nan", - "filters": [], - "id": "C", - "metric": "mysql.innodb_data_fsyncs", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "fsyncs", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mysql_innodb_data_bytes:$t(stat);mysql_innodb_log_fsyncs:fsyncs", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "mysql_innodb_log_fsyncs=fetch('mysql.innodb.redo_log.fsyncs.count', rate='true')$global_tag_filter.tag_filter('stat==innodb').downsample('[[__interval]]', 'max');\nmysql_innodb_data_bytes=fetch('mysql.innodb.data.bytes.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max');\noutput(mysql_innodb_data_bytes, mysql_innodb_log_fsyncs);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Datafile I/O", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": true, - "title": "InnoDB", - "titleSize": "h3" + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [], "templating": { @@ -6547,5 +2822,6 @@ }, "timezone": "", "title": "MySQL Metrics", - "version": 4 -} + "uid": "SEscuYxik", + "version": 1 +} \ No newline at end of file diff --git a/Nginx Metrics Grok.json b/Nginx Metrics Grok.json index 82894c2..a14623b 100644 --- a/Nginx Metrics Grok.json +++ b/Nginx Metrics Grok.json @@ -2,7 +2,7 @@ "__inputs": [ { "name": "DS_APPTUIT", - "label": "Apptuit Prod Query Engine - PG", + "label": "Apptuit", "description": "", "type": "datasource", "pluginId": "apptuit", @@ -27,13 +27,13 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -42,1295 +42,570 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": "250px", - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "nginx.request.count", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "404", - "yaxis": 2 - }, - { - "alias": "proc.stat.cpu{env: dev, host: centos6}", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "nginx_request_rate:$t(host)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "nginx_request_rate=fetch('nginx.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Request/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "alias": "404", + "yaxis": 2 + }, + { + "alias": "proc.stat.cpu{env: dev, host: centos6}", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "nginx_request_rate:$t(host)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "nginx_request_rate=fetch('nginx.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');" }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Request/sec", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 257, - "panels": [ + "aliasColors": { + "errors": "#E24D42" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": { - "errors": "#E24D42" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "metrics": [], + "refId": "A", + "ts": { + "alias": "nginx_error_rate:$t(host)-$t(status)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "nginx_error_rate=fetch('nginx.response.count', rate='true')$global_tag_filter.tag_filter('status=~[4-5]\\d\\d').downsample('[[__interval]]', 'avg').sum(by='status');" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": true, - "timeSeries": [ - { - "agg": "sum", - "alias": "$t(status)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "[4-5]\\d\\d", - "groupBy": true, - "matchCase": false, - "tagk": "status", - "type": "regex" - }, - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "nginx.response.count", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "nginx_error_rate:$t(host)-$t(status)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "nginx_error_rate=fetch('nginx.response.count', rate='true')$global_tag_filter.tag_filter('status=~[4-5]\\d\\d').downsample('[[__interval]]', 'avg').sum(by='status');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Errors/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Errors/sec", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "timeSeries": [ - { - "agg": "none", - "alias": "p$t(quantile) $t(method) $t(status)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "GET|PUT|POST|DELETE|HEAD|OPTIONS|PATCH|TRACE|CONNECT", - "matchCase": false, - "tagk": "method", - "type": "regex" - } - ], - "id": "A", - "metric": "nginx.response.duration.seconds", - "output": true - } - ] - } + "metrics": [], + "refId": "A", + "ts": { + "alias": "nginx_response_latency:p$t(quantile)-$t(method)-$t(status)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "nginx_response_latency=fetch('nginx.response.duration.seconds')$global_tag_filter.downsample('[[__interval]]', 'avg');" }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "nginx_response_latency:p$t(quantile)-$t(method)-$t(status)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "nginx_response_latency=fetch('nginx.response.duration.seconds')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Overall Response Latency", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "s", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Overall Response Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [ - { - "errors": [], - "expr": "100-A/B", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": false - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "Upstream (Tomcat)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "nginx.response.duration.sum.seconds", - "output": true - }, - { - "agg": "global default", - "alias": "Overall (Nginx)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "nginx.response.upstream.duration.sum.seconds", - "output": true - } - ] - } + "metrics": [], + "refId": "A", + "ts": { + "alias": "nginx_response_latency:$t(host) - nginx latency;nginx_upstream_response_latency:$(host) - upstream latency", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 3, + "output": true, + "query": "nginx_response_latency=fetch('nginx.response.duration.sum.seconds', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');\nnginx_upstream_response_latency=fetch('nginx.response.upstream.duration.sum.seconds', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');\noutput(nginx_response_latency, nginx_upstream_response_latency);" }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "nginx_response_latency:$t(host) - nginx latency;nginx_upstream_response_latency:$(host) - upstream latency", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 3, - "output": true, - "query": "nginx_response_latency=fetch('nginx.response.duration.sum.seconds', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');\nnginx_upstream_response_latency=fetch('nginx.response.upstream.duration.sum.seconds', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');\noutput(nginx_response_latency, nginx_upstream_response_latency);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Nginx vs Upstream (Tomcat) Latency", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Nginx vs Upstream (Tomcat) Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 28 + }, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [ - { - "alias": "$t(direction)", - "errors": [], - "expr": "-b", - "id": "C", - "join": { - "operator": "union", - "useAggTags": true, - "useQueryTags": false - }, - "output": true - } - ], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "timeSeries": [ - { - "agg": "global default", - "alias": "$t(direction)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "in", - "matchCase": false, - "tagk": "direction", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "nginx.network.bytes.count", - "output": true - }, - { - "agg": "global default", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "out", - "matchCase": false, - "tagk": "direction", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "nginx.network.bytes.count", - "output": false - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "nginx_bytes_in:$t(host)-in;nginx_bytes_out:$t(host)-out", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 5, - "output": true, - "query": "nginx_bytes_in=fetch('nginx.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction=in').downsample('[[__interval]]', 'avg').sum(by='host');\nnginx_bytes_out=fetch('nginx.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction=out').downsample('[[__interval]]', 'avg').sum(by='host');\nminusone=-1;\nnginx_bytes_out=nginx_bytes_out.mult(minusone);\noutput(nginx_bytes_in, nginx_bytes_out);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Data IO", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "metrics": [], + "refId": "A", + "ts": { + "alias": "nginx_bytes_in:$t(host)-in;nginx_bytes_out:$t(host)-out", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 5, + "output": true, + "query": "nginx_bytes_in=fetch('nginx.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction=in').downsample('[[__interval]]', 'avg').sum(by='host');\nnginx_bytes_out=fetch('nginx.network.bytes.count', rate='true')$global_tag_filter.tag_filter('direction=out').downsample('[[__interval]]', 'avg').sum(by='host');\nminusone=-1;\nnginx_bytes_out=nginx_bytes_out.mult(minusone);\noutput(nginx_bytes_in, nginx_bytes_out);" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Data IO", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "decbytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 35 + }, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 7, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": false, - "timeSeries": [ - { - "agg": "global default", - "alias": "$t(method)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "GET|PUT|POST|DELETE|HEAD|OPTIONS|PATCH|TRACE|CONNECT", - "groupBy": true, - "matchCase": false, - "tagk": "method", - "type": "regex" - } - ], - "id": "A", - "metric": "nginx.request.count", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "nginx_request_count_by_method:$t(method)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "nginx_request_count_by_method=fetch('nginx.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='method');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Request Count / HTTP Method", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "metrics": [], + "refId": "A", + "ts": { + "alias": "nginx_request_count_by_method:$t(method)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "nginx_request_count_by_method=fetch('nginx.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='method');" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Request Count / HTTP Method", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [], "templating": { @@ -1405,5 +680,6 @@ }, "timezone": "", "title": "Nginx Metrics Grok", - "version": 3 + "uid": "apnHkPxmz", + "version": 1 } \ No newline at end of file diff --git a/OS Metrics.json b/OS Metrics.json index ff55ace..c3bf9f0 100644 --- a/OS Metrics.json +++ b/OS Metrics.json @@ -27,25 +27,25 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" }, { "type": "panel", "id": "heatmap", "name": "Heatmap", - "version": "" + "version": "5.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -54,2390 +54,1833 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540396684482, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": 250, - "panels": [ + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "${DS_APPTUIT}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 0, + "y": 0 + }, + "id": 2, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_APPTUIT}", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 2, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('node.cpu.ticks.count')$global_tag_filter.tag_filter(\"type==idle\").downsample('[[__interval]]','max').count();" - }, - "type": "Query" - } - ], - "thresholds": "", - "title": "Number of instances", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "name": "value to text", + "value": 1 }, { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateOranges", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "timeseries", - "datasource": "${DS_APPTUIT}", - "heatmap": {}, - "highlightCards": true, - "id": 5, - "links": [], - "span": 2, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "output": true, - "query": "fetch('node.uptime.seconds.count')$global_tag_filter.downsample('[[__interval]]','avg');" - }, - "type": "Query" - } - ], - "title": "Instance uptime", - "tooltip": { - "show": true, - "showHistogram": true - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "s", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketNumber": null, - "yBucketSize": null - }, + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateBlues", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "timeseries", - "datasource": "${DS_APPTUIT}", - "heatmap": {}, - "highlightCards": true, - "id": 4, - "links": [], - "span": 2, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "output": true, - "query": "idle=fetch('node.cpu.ticks.count', rate='true')$global_tag_filter.tag_filter(\"type==idle\").downsample(\"[[__interval]]\", \"avg\");\nused=100;\nused=used.sub(idle);" - }, - "type": "Query" - } - ], - "title": "CPU usage", - "tooltip": { - "show": true, - "showHistogram": true - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "short", - "logBase": 1, - "max": "100", - "min": "0", - "show": true, - "splitFactor": null - }, - "yBucketNumber": null, - "yBucketSize": 5 + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('node.cpu.ticks.count')$global_tag_filter.tag_filter('type==idle').downsample('[[__interval]]','max').count(by='host').count();" + }, + "type": "Query" + } + ], + "thresholds": "", + "title": "Number of instances", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "#b4ff00", + "colorScale": "sqrt", + "colorScheme": "interpolateOranges", + "exponent": 0.5, + "mode": "spectrum" + }, + "dataFormat": "timeseries", + "datasource": "${DS_APPTUIT}", + "gridPos": { + "h": 7, + "w": 4, + "x": 4, + "y": 0 + }, + "heatmap": {}, + "highlightCards": true, + "id": 5, + "legend": { + "show": false + }, + "links": [], + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "output": true, + "query": "fetch('node.uptime.seconds.count')$global_tag_filter.downsample('[[__interval]]','avg');" + }, + "type": "Query" + } + ], + "title": "Instance uptime", + "tooltip": { + "show": true, + "showHistogram": true + }, + "type": "heatmap", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": null, + "yAxis": { + "decimals": null, + "format": "s", + "logBase": 1, + "max": null, + "min": null, + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": null + }, + { + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "#b4ff00", + "colorScale": "sqrt", + "colorScheme": "interpolateBlues", + "exponent": 0.5, + "mode": "spectrum" + }, + "dataFormat": "timeseries", + "datasource": "${DS_APPTUIT}", + "gridPos": { + "h": 7, + "w": 4, + "x": 8, + "y": 0 + }, + "heatmap": {}, + "highlightCards": true, + "id": 4, + "legend": { + "show": false + }, + "links": [], + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "output": true, + "query": "idle=fetch('node.cpu.ticks.count', rate='true')$global_tag_filter.tag_filter(\"type==idle\").downsample(\"[[__interval]]\", \"avg\");\nused=100;\nused=used.sub(idle);" + }, + "type": "Query" + } + ], + "title": "CPU usage", + "tooltip": { + "show": true, + "showHistogram": true + }, + "type": "heatmap", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": null, + "yAxis": { + "decimals": null, + "format": "short", + "logBase": 1, + "max": "100", + "min": "0", + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": 5 + }, + { + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "#b4ff00", + "colorScale": "sqrt", + "colorScheme": "interpolateBlues", + "exponent": 0.5, + "mode": "spectrum" + }, + "dataFormat": "timeseries", + "datasource": "${DS_APPTUIT}", + "gridPos": { + "h": 7, + "w": 4, + "x": 12, + "y": 0 + }, + "heatmap": {}, + "highlightCards": true, + "id": 7, + "legend": { + "show": false + }, + "links": [], + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "output": true, + "query": "free=fetch('node.memory.bytes')$global_tag_filter.tag_filter(\"state==free\").downsample('[[__interval]]','avg');\ntotal=fetch('node.memory.total.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg');\nfree_perc = free.div(total, on=\"host\");\nusage = 1;\nusage= usage.sub(free_perc);\noutput(usage);" + }, + "type": "Query" + } + ], + "title": "Memory usage", + "tooltip": { + "show": true, + "showHistogram": true + }, + "type": "heatmap", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": null, + "yAxis": { + "decimals": null, + "format": "percentunit", + "logBase": 1, + "max": "1", + "min": "0", + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": 0.05 + }, + { + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "#b4ff00", + "colorScale": "sqrt", + "colorScheme": "interpolatePurples", + "exponent": 0.5, + "mode": "spectrum" + }, + "dataFormat": "timeseries", + "datasource": "${DS_APPTUIT}", + "gridPos": { + "h": 7, + "w": 4, + "x": 16, + "y": 0 + }, + "heatmap": {}, + "highlightCards": true, + "id": 8, + "legend": { + "show": false + }, + "links": [], + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "output": true, + "query": "fetch('node.disk.used.percent')$global_tag_filter.downsample('[[__interval]]', 'avg')" + }, + "type": "Query" + } + ], + "title": "Disk used", + "tooltip": { + "show": true, + "showHistogram": true + }, + "tooltipDecimals": null, + "type": "heatmap", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": "", + "yAxis": { + "decimals": null, + "format": "percent", + "logBase": 1, + "max": "100", + "min": "0", + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": 5 + }, + { + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "rgb(0, 30, 255)", + "colorScale": "linear", + "colorScheme": "interpolateOranges", + "exponent": 0.5, + "mode": "spectrum" + }, + "dataFormat": "timeseries", + "datasource": "${DS_APPTUIT}", + "gridPos": { + "h": 7, + "w": 4, + "x": 20, + "y": 0 + }, + "heatmap": {}, + "highlightCards": true, + "id": 6, + "legend": { + "show": false + }, + "links": [], + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "output": true, + "query": "bsin=fetch('proc.net.bytes', rate='true')$global_tag_filter.tag_filter(\"direction==in\").downsample('[[__interval]]','avg');\nout=0;\nout=out.sub(fetch('proc.net.bytes', rate='true')$global_tag_filter.tag_filter(\"direction==out\").downsample('[[__interval]]','avg'));\noutput(bsin,out);" + }, + "type": "Query" + } + ], + "title": "Network IO", + "tooltip": { + "show": true, + "showHistogram": true + }, + "type": "heatmap", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": null, + "yAxis": { + "decimals": null, + "format": "Bps", + "logBase": 1, + "max": null, + "min": null, + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": null + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 7 + }, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "downsampleAggregator": "avg", + "downsampleFillPolicy": "none", + "metric": "proc.loadavg.1min", + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "load_avg_per_min=fetch('node.cpu.load.avg_1m')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Load Average [1m]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateBlues", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "timeseries", - "datasource": "${DS_APPTUIT}", - "heatmap": {}, - "highlightCards": true, - "id": 7, - "links": [], - "span": 2, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "output": true, - "query": "free=fetch('node.memory.bytes')$global_tag_filter.tag_filter(\"state==free\").downsample('[[__interval]]','avg');\ntotal=fetch('node.memory.total.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg');\nfree_perc = free.div(total, on=\"host\");\nusage = 1;\nusage= usage.sub(free_perc);\noutput(usage);" - }, - "type": "Query" - } - ], - "title": "Memory usage", - "tooltip": { - "show": true, - "showHistogram": true - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "percentunit", - "logBase": 1, - "max": "1", - "min": "0", - "show": true, - "splitFactor": null - }, - "yBucketNumber": null, - "yBucketSize": 0.05 + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "proc.stat.processes{host: nook}": "#052B51" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 6, + "y": 7 + }, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "downsampleAggregator": "avg", + "downsampleFillPolicy": "none", + "metric": "proc.stat.processes", + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "processes_spawn_rate=fetch('node.processes.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Processes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolatePurples", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "timeseries", - "datasource": "${DS_APPTUIT}", - "heatmap": {}, - "highlightCards": true, - "id": 8, - "links": [], - "span": 2, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "output": true, - "query": "fetch('node.disk.used.percent')$global_tag_filter.downsample('[[__interval]]', 'avg')" - }, - "type": "Query" - } - ], - "title": "Disk used", - "tooltip": { - "show": true, - "showHistogram": true - }, - "tooltipDecimals": null, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": "", - "yAxis": { - "decimals": null, - "format": "percent", - "logBase": 1, - "max": "100", - "min": "0", - "show": true, - "splitFactor": null - }, - "yBucketNumber": null, - "yBucketSize": 5 + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "proc.stat.ctxt{host: nook}": "#614D93" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 12, + "y": 7 + }, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "context_switch_rate=fetch('node.process.context_switches.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Context Switches", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "rgb(0, 30, 255)", - "colorScale": "linear", - "colorScheme": "interpolateOranges", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "timeseries", - "datasource": "${DS_APPTUIT}", - "heatmap": {}, - "highlightCards": true, - "id": 6, - "links": [], - "span": 2, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "output": true, - "query": "bsin=fetch('proc.net.bytes', rate='true')$global_tag_filter.tag_filter(\"direction==in\").downsample('[[__interval]]','avg');\nout=0;\nout=out.sub(fetch('proc.net.bytes', rate='true')$global_tag_filter.tag_filter(\"direction==out\").downsample('[[__interval]]','avg'));\noutput(bsin,out);" - }, - "type": "Query" - } - ], - "title": "Network IO", - "tooltip": { - "show": true, - "showHistogram": true - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "Bps", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketNumber": null, - "yBucketSize": null + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": { + "proc.stat.intr{host: nook}": "#BA43A9" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 6, + "x": 18, + "y": 7 + }, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 9, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gDSAgg": "max", - "timeSeries": [ - { - "alias": "", - "errors": [], - "fill": "nan", - "filters": [], - "id": "A", - "line": 1, - "metric": "proc.loadavg.1min", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "aggregator": "none", - "downsampleAggregator": "avg", - "downsampleFillPolicy": "none", - "metric": "proc.loadavg.1min", - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "load_avg_per_min=fetch('node.cpu.load.avg_1m')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Load Average [1m]", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "interrupt_execution_rate=fetch('node.process.interrupts.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Interrupts", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "aliasColors": { - "proc.stat.processes{host: nook}": "#052B51" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gRate": true, - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "aggregator": "none", - "downsampleAggregator": "avg", - "downsampleFillPolicy": "none", - "metric": "proc.stat.processes", - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "processes_spawn_rate=fetch('node.processes.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Processes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "avg": "rgb(158, 166, 155)" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 14 + }, + "id": 19, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "used_cpu_percent:avg; top3:$t(host)", + "errors": [], + "genMap": [], + "id": "A", + "output": true, + "query": "idle_cpu=fetch('node.cpu.ticks.count', rate='true').tag_filter('type==idle').downsample('[[__interval]]', 'avg');\ncount=idle_cpu.count();\nidle_cpu_percent=idle_cpu.sum().div(count);\nhundred=100;\nused_cpu_percent=hundred.sub(idle_cpu_percent);\ntop3 = hundred.sub(idle_cpu).top3();\noutput(top3, used_cpu_percent);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Top 3 Used CPU", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": { - "proc.stat.ctxt{host: nook}": "#614D93" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 11, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gRate": true, - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "context_switch_rate=fetch('node.process.context_switches.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Context Switches", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "ade-scoring-group-1-95-4wp2": "#bf1b00", + "avg": "rgb(158, 166, 155)" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 14 + }, + "id": 20, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "avg_mem_used_percent:avg; top3:$t(host)", + "errors": [], + "genMap": [], + "id": "A", + "output": true, + "query": "memtotal=fetch('node.memory.total.bytes').downsample('[[__interval]]', 'avg');\nmemfree=fetch('node.memory.bytes').tag_filter('state==free').downsample('[[__interval]]', 'avg');\nmembuffers=fetch('node.memory.bytes').tag_filter('state==buffers').downsample('[[__interval]]', 'avg');\nmemcached=fetch('node.memory.bytes').tag_filter('state==cached').downsample('[[__interval]]', 'avg');\nmemunused=memfree.add(membuffers, ignore='state').add(memcached, ignore='state');\nhundred=100;\nmem_available_percent=memunused.div(memtotal).mult(hundred);\navg_mem_available_percent=memunused.sum().div(memtotal.sum()).mult(hundred);\nmem_used_percent=hundred.sub(mem_available_percent);\navg_mem_used_percent=hundred.sub(avg_mem_available_percent);\ntop3=mem_used_percent.top3();\noutput(avg_mem_used_percent, top3);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Top 3 Memory Usages", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": { - "proc.stat.intr{host: nook}": "#BA43A9" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gRate": true, - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 3, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "interrupt_execution_rate=fetch('node.process.interrupts.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Interrupts", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "ade-scoring-group-1-95-4wp2": "#bf1b00", + "avg": "rgb(158, 166, 155)" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 8, + "x": 16, + "y": 14 + }, + "id": 21, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "avg_node_disk_utilization:avg; top3:$t(host)", + "errors": [], + "genMap": [], + "id": "A", + "output": true, + "query": "node_disk_utilization=fetch('node.disk.uptime.percent').downsample('[[__interval]]','avg');\navg_node_disk_utilization=node_disk_utilization.avg();\ntop3=node_disk_utilization.top3();\noutput(avg_node_disk_utilization, top3);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Top 3 Disc Utilization", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": { - "avg": "rgb(158, 166, 155)" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 7 - }, - "id": 19, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "used_cpu_percent:avg; top3:$t(host)", - "errors": [], - "genMap": [], - "id": "A", - "output": true, - "query": "idle_cpu=fetch('node.cpu.ticks.count', rate='true').tag_filter('type==idle').downsample('[[__interval]]', 'avg');\ncount=idle_cpu.count();\nidle_cpu_percent=idle_cpu.sum().div(count);\nhundred=100;\nused_cpu_percent=hundred.sub(idle_cpu_percent);\ntop3 = hundred.sub(idle_cpu).top3();\noutput(top3, used_cpu_percent);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Top 3 Used CPU", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "% Idle": "#E0F9D7", + "% Used": "#E24D42" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 1, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "used_cpu_percent:%Used;idle_cpu_percent:%Idle", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 6, + "output": true, + "query": "idle_cpu=fetch('node.cpu.ticks.count', rate='true')$global_tag_filter.tag_filter('type==idle').downsample('[[__interval]]', 'avg');\ncount=idle_cpu.count();\nidle_cpu_percent=idle_cpu.sum().div(count);\nhundred=100;\nused_cpu_percent=hundred.sub(idle_cpu_percent);\noutput(used_cpu_percent, idle_cpu_percent);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": { - "ade-scoring-group-1-95-4wp2": "#bf1b00", - "avg": "rgb(158, 166, 155)" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 7 - }, - "id": 20, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "avg_mem_used_percent:avg; top3:$t(host)", - "errors": [], - "genMap": [], - "id": "A", - "output": true, - "query": "memtotal=fetch('node.memory.total.bytes').downsample('[[__interval]]', 'avg');\nmemfree=fetch('node.memory.bytes').tag_filter('state==free').downsample('[[__interval]]', 'avg');\nmembuffers=fetch('node.memory.bytes').tag_filter('state==buffers').downsample('[[__interval]]', 'avg');\nmemcached=fetch('node.memory.bytes').tag_filter('state==cached').downsample('[[__interval]]', 'avg');\nmemunused=memfree.add(membuffers, ignore='state').add(memcached, ignore='state');\nhundred=100;\nmem_available_percent=memunused.div(memtotal).mult(hundred);\navg_mem_available_percent=memunused.sum().div(memtotal.sum()).mult(hundred);\nmem_used_percent=hundred.sub(mem_available_percent);\navg_mem_used_percent=hundred.sub(avg_mem_available_percent);\ntop3=mem_used_percent.top3();\noutput(avg_mem_used_percent, top3);" + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 3, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "mem_used_percent:Used %; mem_available_percent: Available %", + "errors": [ + { + "eCol": 0, + "line": 5, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 6 + }, + "sCol": 0 }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Top 3 Memory Usages", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + { + "eCol": 0, + "line": 4, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 5 + }, + "sCol": 0 + }, + { + "eCol": 0, + "line": 4, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 5 + }, + "sCol": 0 + }, + { + "eCol": 0, + "line": 4, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 5 + }, + "sCol": 0 + }, + { + "eCol": 0, + "line": 4, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 5 + }, + "sCol": 0 + } + ], + "id": "A", + "lineStart": 1, + "numLines": 9, + "output": true, + "query": "memtotal=fetch('node.memory.total.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemfree=fetch('node.memory.bytes')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum();\nmembuffers=fetch('node.memory.bytes')$global_tag_filter.tag_filter('state==buffers').downsample('[[__interval]]', 'avg').sum();\nmemcached=fetch('node.memory.bytes')$global_tag_filter.tag_filter('state==cached').downsample('[[__interval]]', 'avg').sum();\nmemunused=memfree.add(membuffers, ignore='state').add(memcached, ignore='state');\nhundred=100;\nmem_available_percent=memunused.div(memtotal).mult(hundred);\nmem_used_percent=hundred.sub(mem_available_percent);\noutput(mem_used_percent, mem_available_percent);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": "", + "logBase": 1, + "max": "100", + "min": "0", + "show": true }, { - "aliasColors": { - "ade-scoring-group-1-95-4wp2": "#bf1b00", - "avg": "rgb(158, 166, 155)" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 7 - }, - "id": 21, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "avg_node_disk_utilization:avg; top3:$t(host)", - "errors": [], - "genMap": [], - "id": "A", - "output": true, - "query": "node_disk_utilization=fetch('node.disk.uptime.percent').downsample('[[__interval]]','avg');\navg_node_disk_utilization=node_disk_utilization.avg();\ntop3=node_disk_utilization.top3();\noutput(avg_node_disk_utilization, top3);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Top 3 Disc Utilization", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 353, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "decimals": 2, + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 37 + }, + "id": 13, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": { - "% Idle": "#E0F9D7", - "% Used": "#E24D42" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "min", - "gDSInterval": "60s", - "gRate": true, - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": true, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "used_cpu_percent:%Used;idle_cpu_percent:%Idle", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 6, - "output": true, - "query": "idle_cpu=fetch('node.cpu.ticks.count', rate='true')$global_tag_filter.tag_filter('type==idle').downsample('[[__interval]]', 'avg');\ncount=idle_cpu.count();\nidle_cpu_percent=idle_cpu.sum().div(count);\nhundred=100;\nused_cpu_percent=hundred.sub(idle_cpu_percent);\noutput(used_cpu_percent, idle_cpu_percent);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "CPU Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "metrics": [], + "refId": "A", + "ts": { + "alias": "node_disk_space:$t(mount)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "node_disk_space=fetch('node.disk.used.percent')$global_tag_filter.downsample('[[__interval]]','avg');" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Disc Space", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 37 + }, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 3, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 3, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": true, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "mem_used_percent:Used %; mem_available_percent: Available %", - "errors": [ - { - "eCol": 0, - "line": 5, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 6 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 4, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 5 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 4, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 5 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 4, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 5 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 4, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'add', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 5 - }, - "sCol": 0 - } - ], - "id": "A", - "lineStart": 1, - "numLines": 9, - "output": true, - "query": "memtotal=fetch('node.memory.total.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nmemfree=fetch('node.memory.bytes')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum();\nmembuffers=fetch('node.memory.bytes')$global_tag_filter.tag_filter('state==buffers').downsample('[[__interval]]', 'avg').sum();\nmemcached=fetch('node.memory.bytes')$global_tag_filter.tag_filter('state==cached').downsample('[[__interval]]', 'avg').sum();\nmemunused=memfree.add(membuffers, ignore='state').add(memcached, ignore='state');\nhundred=100;\nmem_available_percent=memunused.div(memtotal).mult(hundred);\nmem_used_percent=hundred.sub(mem_available_percent);\noutput(mem_used_percent, mem_available_percent);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Memory", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": "", - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "aggregator": "sum", + "downsampleAggregator": "avg", + "downsampleFillPolicy": "none", + "metrics": [], + "refId": "A", + "ts": { + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "node_disk_utilization=fetch('node.disk.uptime.percent')$global_tag_filter.downsample('[[__interval]]','avg');" + }, + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Disc Utilization", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 44 + }, + "id": 15, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "decimals": 2, - "fill": 1, - "id": 13, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "node_disk_space:$t(mount)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "node_disk_space=fetch('node.disk.used.percent')$global_tag_filter.downsample('[[__interval]]','avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Disc Space", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "alias": "/^out/", + "transform": "negative-Y" + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "network_in:$t(direction)($t(host)); network_out:$t(direction)($t(host))", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "network_in=fetch('node.network.bytes.count', rate='true')$global_tag_filter.tag_filter(\"direction==in\").downsample('[[__interval]]', 'avg');\nnetwork_out=fetch('node.network.bytes.count', rate='true')$global_tag_filter.tag_filter(\"direction==out\").downsample('[[__interval]]', 'avg');\noutput(network_out, network_in);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Network IO", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 3, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gDSAgg": "avg", - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "aggregator": "sum", - "downsampleAggregator": "avg", - "downsampleFillPolicy": "none", - "metrics": [], - "refId": "A", - "ts": { - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "node_disk_utilization=fetch('node.disk.uptime.percent')$global_tag_filter.downsample('[[__interval]]','avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Disc Utilization", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 51 + }, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 15, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSAutoDisable": false, - "gDSFill": "none", - "gDSInterval": "", - "gRate": true, - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "network_in:$t(direction); network_out:$t(direction)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "network_in=fetch('node.network.bytes.count', rate='true')$global_tag_filter.tag_filter(\"direction==in\").downsample('[[__interval]]', 'avg');\nnetwork_out=fetch('node.network.bytes.count', rate='true')$global_tag_filter.tag_filter(\"direction==out\").downsample('[[__interval]]', 'avg');\nminus_one=-1;\nnetwork_out=minus_one.mult(network_out);\noutput(network_out, network_in);" + "metrics": [], + "refId": "A", + "ts": { + "errors": [ + { + "eCol": 0, + "line": 4, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 5 + }, + "sCol": 0 }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Network IO", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + { + "eCol": 0, + "line": 4, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 5 + }, + "sCol": 0 + }, + { + "eCol": 0, + "line": 4, + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", + "original": { + "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", + "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", + "queryColumnOffset": -1, + "queryLineNo": 5 + }, + "sCol": 0 + } + ], + "id": "A", + "lineStart": 1, + "numLines": 6, + "output": true, + "query": "swap_free=fetch('node.swap.bytes')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum();\nswap_total=fetch('node.swap.total.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nhundred=100;\nswap_used=swap_total.sub(swap_free, ignore='state');\nswap_usage_percent=swap_used.div(swap_total).mult(hundred);\noutput(swap_usage_percent);" + }, + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Swap Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 51 + }, + "id": 17, + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "errors": [ - { - "eCol": 0, - "line": 4, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 5 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 4, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 5 - }, - "sCol": 0 - }, - { - "eCol": 0, - "line": 4, - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", - "original": { - "errorType": "ERROR_INVALID_FUNCTION_ARGUMENT_VALUE", - "message": "Invalid argument value. Expected non-empty Data Frames for operation 'div', got empty LHS.", - "queryColumnOffset": -1, - "queryLineNo": 5 - }, - "sCol": 0 - } - ], - "id": "A", - "lineStart": 1, - "numLines": 6, - "output": true, - "query": "swap_free=fetch('node.swap.bytes')$global_tag_filter.tag_filter('state==free').downsample('[[__interval]]', 'avg').sum();\nswap_total=fetch('node.swap.total.bytes')$global_tag_filter.downsample('[[__interval]]', 'avg').sum();\nhundred=100;\nswap_used=swap_total.sub(swap_free, ignore='state');\nswap_usage_percent=swap_used.div(swap_total).mult(hundred);\noutput(swap_usage_percent);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Swap Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "alias": "/^out/", + "transform": "negative-Y" + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "node_swap_in:in($t(host));node_swap_out:out($t(host))", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "node_swap_in=fetch('node.swap.bytes_per_second')$global_tag_filter.tag_filter(\"direction==in\").downsample('[[__interval]]','avg');\nnode_swap_out=fetch('node.swap.bytes_per_second')$global_tag_filter.tag_filter(\"direction==out\").downsample('[[__interval]]','avg');\noutput(node_swap_in, node_swap_out);" + }, + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Swap IO", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 17, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "timeSeries": [] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "node_swap_in:in($t(host));node_swap_out:out($t(host))", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "node_swap_in=fetch('node.swap.bytes_per_second')$global_tag_filter.tag_filter(\"direction==in\").downsample('[[__interval]]','avg');\nnode_swap_out=fetch('node.swap.bytes_per_second')$global_tag_filter.tag_filter(\"direction==out\").downsample('[[__interval]]','avg');\nminus_one=-1;\nnode_swap_out=minus_one.mult(node_swap_out);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Swap IO", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [], "templating": { @@ -2512,5 +1955,6 @@ }, "timezone": "", "title": "OS Metrics", - "version": 3 -} + "uid": "5yJpuYxiz", + "version": 1 +} \ No newline at end of file diff --git a/Outgoing Request Metrics.json b/Outgoing Request Metrics.json index 63d1bda..e01c7b6 100644 --- a/Outgoing Request Metrics.json +++ b/Outgoing Request Metrics.json @@ -27,13 +27,13 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -42,205 +42,199 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": "250px", - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "A:$t(cloud_service):$t(status)", - "errors": [], - "id": "A", - "output": true, - "query": "A=fetch('http.requests.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]', 'sum').sum(by='cloud_service, status');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Outgoing Request Count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "metrics": [], + "refId": "A", + "ts": { + "alias": "A:$t(cloud_service):$t(status)", + "errors": [], + "id": "A", + "output": true, + "query": "A=fetch('http.requests.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]', 'sum').sum(by='cloud_service, status');" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Outgoing Request Count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 2, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sort": "max", + "sortDesc": true, + "total": false, + "values": true + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 2, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 1, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "duration:$t(cloud_service) $t(method) $t(status)", - "errors": [], - "id": "A", - "output": true, - "query": "factor=fetch('http.requests.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]', 'sum').sum(by='cloud_service,method,status');\nfactor=factor.div(factor);\nduration=fetch('http.requests.duration', align='15s')$global_tag_filter.tag_filter(\"quantile==p95\").downsample('[[__interval]]', 'max').sum(by='cloud_service,method,status');\nduration=duration.mult(factor, on=\"cloud_service,method,status\");" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Outgoing Requests - Time Taken - P95", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "metrics": [], + "refId": "A", + "ts": { + "alias": "duration:$t(cloud_service) $t(method) $t(status)", + "errors": [], + "id": "A", + "output": true, + "query": "factor=fetch('http.requests.count', rate='true', align='15s')$global_tag_filter.downsample('[[__interval]]', 'sum').sum(by='cloud_service,method,status');\nfactor=factor.div(factor);\nduration=fetch('http.requests.duration', align='15s')$global_tag_filter.tag_filter(\"quantile==p95\").downsample('[[__interval]]', 'max').sum(by='cloud_service,method,status');\nduration=duration.mult(factor, on=\"cloud_service,method,status\");" }, - "yaxes": [ - { - "format": "ms", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Outgoing Requests - Time Taken - P95", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [ "jinsight" @@ -317,5 +311,6 @@ }, "timezone": "", "title": "Outgoing Request Metrics", - "version": 3 + "uid": "KpCpXYxmz", + "version": 1 } \ No newline at end of file diff --git a/Tomcat Metrics Grok.json b/Tomcat Metrics Grok.json index 34ed9e7..85834fe 100644 --- a/Tomcat Metrics Grok.json +++ b/Tomcat Metrics Grok.json @@ -2,7 +2,7 @@ "__inputs": [ { "name": "DS_APPTUIT", - "label": "Apptuit Prod Query Engine - PG", + "label": "Apptuit", "description": "", "type": "datasource", "pluginId": "apptuit", @@ -27,13 +27,13 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -42,829 +42,388 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": "250px", - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "tomcat_request_count", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "404", - "yaxis": 2 - }, - { - "alias": "proc.stat.cpu{env: dev, host: centos6}", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "tomcat_request_count:$t(host)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "tomcat_request_count=fetch('tomcat.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Request/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "alias": "404", + "yaxis": 2 + }, + { + "alias": "proc.stat.cpu{env: dev, host: centos6}", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "tomcat_request_count:$t(host)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "tomcat_request_count=fetch('tomcat.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='host');" }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Request/sec", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 257, - "panels": [ + "aliasColors": { + "errors": "#E24D42" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": { - "errors": "#E24D42" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": true, - "timeSeries": [ - { - "agg": "sum", - "alias": "$t(response)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "[4-5]\\d\\d", - "groupBy": true, - "matchCase": false, - "tagk": "status", - "type": "regex" - }, - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "tomcat.response.count", - "output": true - } - ] - } + "metrics": [], + "refId": "A", + "ts": { + "alias": "tomcat_error_rate:$t(host)-$t(status)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "tomcat_error_rate=fetch('tomcat.response.count', rate='true')$global_tag_filter.tag_filter('status=~[4-5]\\d\\d').downsample('[[__interval]]', 'avg').sum(by='status');" }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "tomcat_error_rate:$t(host)-$t(status)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "tomcat_error_rate=fetch('tomcat.response.count', rate='true')$global_tag_filter.tag_filter('status=~[4-5]\\d\\d').downsample('[[__interval]]', 'avg').sum(by='status');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Errors/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Errors/sec", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "timeSeries": [ - { - "agg": "none", - "alias": "p$t(quantile) $t(method) $t(status)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "GET|PUT|POST|DELETE|HEAD|OPTIONS|PATCH|TRACE|CONNECT", - "matchCase": false, - "tagk": "method", - "type": "regex" - } - ], - "id": "A", - "metric": "tomcat.response.duration.seconds", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "tomcat_response_latency:p$t(quantile)-$t(method)-$t(status)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "tomcat_response_latency=fetch('tomcat.response.duration.seconds')$global_tag_filter.downsample('[[__interval]]', 'avg');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Response Latency", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "metrics": [], + "refId": "A", + "ts": { + "alias": "tomcat_response_latency:p$t(quantile)-$t(method)-$t(status)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "tomcat_response_latency=fetch('tomcat.response.duration.seconds')$global_tag_filter.downsample('[[__interval]]', 'avg');" }, - "yaxes": [ - { - "format": "s", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Response Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": false, - "timeSeries": [ - { - "agg": "global default", - "alias": "$t(method)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "GET|PUT|POST|DELETE|HEAD|OPTIONS|PATCH|TRACE|CONNECT", - "groupBy": true, - "matchCase": false, - "tagk": "method", - "type": "regex" - } - ], - "id": "A", - "metric": "tomcat.request.count", - "output": true - } - ] - } + "metrics": [], + "refId": "A", + "ts": { + "alias": "tomcat_request_count_by_method:$t(method)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "tomcat_request_count_by_method=fetch('tomcat.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='method');" }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "tomcat_request_count_by_method:$t(method)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "tomcat_request_count_by_method=fetch('tomcat.request.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='method');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Requests Count / HTTP Method", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests Count / HTTP Method", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [], "templating": { @@ -939,5 +498,6 @@ }, "timezone": "", "title": "Tomcat Metrics Grok", - "version": 3 + "uid": "YsHhXYxmz", + "version": 1 } \ No newline at end of file diff --git a/Tomcat Metrics.json b/Tomcat Metrics.json index cce4141..318959d 100644 --- a/Tomcat Metrics.json +++ b/Tomcat Metrics.json @@ -27,13 +27,13 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "4.4.3" + "version": "5.2.1" }, { "type": "panel", "id": "graph", "name": "Graph", - "version": "" + "version": "5.0.0" } ], "annotations": { @@ -42,838 +42,397 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, "id": null, + "iteration": 1540393200000, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": "250px", - "panels": [ + "aliasColors": { + "avg": "rgb(158, 166, 155)" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": { - "avg": "rgb(158, 166, 155)" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 1, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": true, - "timeSeries": [ - { - "agg": "global default", - "alias": "", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "A", - "metric": "tomcat_request_count", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "404", - "yaxis": 2 - }, - { - "alias": "proc.stat.cpu{env: dev, host: centos6}", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "avg_tomcat_request_rate:avg;tomcat_request_rate:$t(host)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "avg_tomcat_request_rate=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').avg();\ntomcat_request_rate=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').top3();\noutput(avg_tomcat_request_rate, tomcat_request_rate);" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Top 3 Request/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "alias": "404", + "yaxis": 2 + }, + { + "alias": "proc.stat.cpu{env: dev, host: centos6}", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "avg_tomcat_request_rate:avg;tomcat_request_rate:$t(host)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "avg_tomcat_request_rate=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').avg();\ntomcat_request_rate=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').top3();\noutput(avg_tomcat_request_rate, tomcat_request_rate);" }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Top 3 Request/sec", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 257, - "panels": [ + "aliasColors": { + "errors": "#E24D42" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": { - "errors": "#E24D42" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": true, - "timeSeries": [ - { - "agg": "sum", - "alias": "$t(response)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "[4-5]\\d\\d", - "groupBy": true, - "matchCase": false, - "tagk": "status", - "type": "regex" - }, - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - } - ], - "id": "B", - "metric": "tomcat.response.count", - "output": true - } - ] - } + "metrics": [], + "refId": "A", + "ts": { + "alias": "tomcat_error_rate:$t(status)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "tomcat_error_rate=fetch('tomcat.requests.count', rate='true')$global_tag_filter.tag_filter('status=~[4-5]\\d\\d').downsample('[[__interval]]', 'avg').sum(by='status');" }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "tomcat_error_rate:$t(status)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "tomcat_error_rate=fetch('tomcat.requests.count', rate='true')$global_tag_filter.tag_filter('status=~[4-5]\\d\\d').downsample('[[__interval]]', 'avg').sum(by='status');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Errors/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Errors/sec", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 5, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 5, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true + "metrics": [], + "refId": "A", + "ts": { + "alias": "tomcat_response_latency:$t(cloud_service)-$t(method)-$t(status)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "factor=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').max(by=\"cloud_service,method,status\");\nfactor=factor.div(factor);\ntomcat_response_latency=fetch('tomcat.requests.duration')$global_tag_filter.tag_filter(\"quantile==p95\").downsample('[[__interval]]', 'max').max(by=\"cloud_service,method,status\");\ntomcat_response_latency=tomcat_response_latency.mult(factor, on=\"cloud_service,method,status\");" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 1, - "points": true, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "none", - "gDSAgg": "avg", - "gDSFill": "none", - "timeSeries": [ - { - "agg": "none", - "alias": "p$t(quantile) $t(method) $t(status)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "GET|PUT|POST|DELETE|HEAD|OPTIONS|PATCH|TRACE|CONNECT", - "matchCase": false, - "tagk": "method", - "type": "regex" - } - ], - "id": "A", - "metric": "tomcat.response.duration.seconds", - "output": true - } - ] - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "tomcat_response_latency:$t(cloud_service)-$t(method)-$t(status)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "factor=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'max').max(by=\"cloud_service,method,status\");\nfactor=factor.div(factor);\ntomcat_response_latency=fetch('tomcat.requests.duration')$global_tag_filter.tag_filter(\"quantile==p95\").downsample('[[__interval]]', 'max').max(by=\"cloud_service,method,status\");\ntomcat_response_latency=tomcat_response_latency.mult(factor, on=\"cloud_service,method,status\");" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Response Latency - P95", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Response Latency - P95", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "collapse": false, - "height": 250, - "panels": [ + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_APPTUIT}", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_APPTUIT}", - "fill": 1, - "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "scopedVars": { - "global": { - "aggregators": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "none", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "dsFunctions": [ - "avg", - "count", - "dev", - "ep50r3", - "ep50r7", - "ep75r3", - "ep75r7", - "ep90r3", - "ep90r7", - "ep95r3", - "ep95r7", - "ep999r3", - "ep999r7", - "ep99r3", - "ep99r7", - "first", - "last", - "max", - "mimmax", - "mimmin", - "min", - "mult", - "p50", - "p75", - "p90", - "p95", - "p99", - "p999", - "sum", - "zimsum" - ], - "errors": [], - "expressions": [], - "fillPolicies": [ - "null", - "zero", - "none" - ], - "gAgg": "sum", - "gDSAgg": "avg", - "gDSFill": "none", - "gRate": false, - "timeSeries": [ - { - "agg": "global default", - "alias": "$t(method)", - "errors": [], - "fill": "null", - "filters": [ - { - "enable": true, - "errors": [], - "filter": "phani-ubuntu1704", - "matchCase": false, - "tagk": "host", - "type": "==" - }, - { - "enable": true, - "errors": [], - "filter": "GET|PUT|POST|DELETE|HEAD|OPTIONS|PATCH|TRACE|CONNECT", - "groupBy": true, - "matchCase": false, - "tagk": "method", - "type": "regex" - } - ], - "id": "A", - "metric": "tomcat.request.count", - "output": true - } - ] - } - }, - "seriesOverrides": [ - { - "alias": "GET", - "yaxis": 1 - } - ], - "spaceLength": 10, - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "metrics": [], - "refId": "A", - "ts": { - "alias": "tomcat_request_count_by_method:$t(method)", - "errors": [], - "id": "A", - "lineStart": 1, - "numLines": 1, - "output": true, - "query": "tomcat_request_count_by_method=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='method');" - }, - "type": "Query" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Requests Count / HTTP Method", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "alias": "GET", + "yaxis": 1 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metrics": [], + "refId": "A", + "ts": { + "alias": "tomcat_request_count_by_method:$t(method)", + "errors": [], + "id": "A", + "lineStart": 1, + "numLines": 1, + "output": true, + "query": "tomcat_request_count_by_method=fetch('tomcat.requests.count', rate='true')$global_tag_filter.downsample('[[__interval]]', 'avg').sum(by='method');" }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "type": "Query" } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Dashboard Row", - "titleSize": "h6" + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests Count / HTTP Method", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "schemaVersion": 14, + "refresh": false, + "schemaVersion": 16, "style": "dark", "tags": [ "jinsight" @@ -950,5 +509,6 @@ }, "timezone": "", "title": "Tomcat Metrics", - "version": 8 + "uid": "9kL2uLxiz", + "version": 1 } \ No newline at end of file