Skip to content

Commit

Permalink
Updating all Dashboards to support Prometheus. Deleted unused dashboa…
Browse files Browse the repository at this point in the history
…rds. (#8)
  • Loading branch information
saisantosh authored Jun 25, 2019
1 parent e9e367b commit ef2aacd
Show file tree
Hide file tree
Showing 12 changed files with 3,443 additions and 4,929 deletions.
1,734 changes: 1,191 additions & 543 deletions Elasticsearch Cluster Stats.json

Large diffs are not rendered by default.

583 changes: 339 additions & 244 deletions Elasticsearch Index Stats.json

Large diffs are not rendered by default.

1,048 changes: 585 additions & 463 deletions Elasticsearch Node Stats.json

Large diffs are not rendered by default.

330 changes: 140 additions & 190 deletions JVM Metrics.json

Large diffs are not rendered by default.

135 changes: 84 additions & 51 deletions Logging Metrics.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,46 @@
{
"__inputs": [
{
"name": "DS_APPTUIT",
"label": "Apptuit",
"name": "DS_APPTUIT-PROMQL",
"label": "Apptuit-PromQL",
"description": "",
"type": "datasource",
"pluginId": "apptuit",
"pluginName": "Apptuit"
"pluginId": "prometheus",
"pluginName": "Prometheus"
},
{
"name": "VAR_GLOBAL_TAG_FILTER",
"name": "VAR_GTS",
"type": "constant",
"label": "global_tag_filter",
"value": ".tag_filter('host==$host')",
"label": "Global Tagset",
"value": "$jinsight",
"description": ""
},
{
"name": "VAR_SCRAPE_INTERVAL",
"type": "constant",
"label": "scrape_interval",
"value": "15s",
"description": ""
}
],
"__requires": [
{
"type": "datasource",
"id": "apptuit",
"name": "Apptuit",
"version": "1.0.0"
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.2.1"
"version": "5.4.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "5.0.0"
}
],
"annotations": {
Expand All @@ -43,15 +50,15 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1540393200000,
"iteration": 1560936890739,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_APPTUIT}",
"datasource": "${DS_APPTUIT-PROMQL}",
"fill": 1,
"gridPos": {
"h": 7,
Expand All @@ -60,6 +67,7 @@
"y": 0
},
"id": 1,
"interval": "$scrape_interval",
"legend": {
"alignAsTable": true,
"avg": false,
Expand Down Expand Up @@ -87,20 +95,25 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (level) (delta(logger_appends_total{$global_tag_filter}[$__interval]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{level}}",
"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');"
"query": "logger_appends"
},
"type": "Query"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Logging Rate",
"tooltip": {
Expand All @@ -122,7 +135,7 @@
"label": null,
"logBase": 1,
"max": null,
"min": null,
"min": "0",
"show": true
},
{
Expand All @@ -144,7 +157,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_APPTUIT}",
"datasource": "${DS_APPTUIT-PROMQL}",
"fill": 1,
"gridPos": {
"h": 7,
Expand All @@ -153,6 +166,7 @@
"y": 7
},
"id": 2,
"interval": "$scrape_interval",
"legend": {
"alignAsTable": true,
"avg": false,
Expand All @@ -161,6 +175,8 @@
"min": true,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
Expand All @@ -178,20 +194,25 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(instance) (delta(logger_throwables_total{$global_tag_filter}[$__interval]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "$global_legend",
"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');"
"query": ""
},
"type": "Query"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Throwables logged",
"tooltip": {
Expand Down Expand Up @@ -235,7 +256,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_APPTUIT}",
"datasource": "${DS_APPTUIT-PROMQL}",
"fill": 1,
"gridPos": {
"h": 7,
Expand All @@ -248,6 +269,8 @@
"alignAsTable": true,
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": true,
Expand All @@ -271,20 +294,26 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by(class) (delta(logger_throwables_total{$global_tag_filter}[$__interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{class}}",
"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');"
"query": "logger_throwabl.count"
},
"type": "Query"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Exception Class Metrics",
"tooltip": {
Expand Down Expand Up @@ -324,6 +353,7 @@
}
}
],
"refresh": false,
"schemaVersion": 16,
"style": "dark",
"tags": [
Expand All @@ -332,46 +362,49 @@
"templating": {
"list": [
{
"allValue": "*",
"current": {},
"datasource": "${DS_APPTUIT}",
"hide": 0,
"includeAll": true,
"label": "host",
"multi": false,
"name": "host",
"options": [],
"query": "tag_values(logger.appends.count,host)",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
"current": {
"value": "${VAR_GTS}",
"text": "${VAR_GTS}"
},
"hide": 2,
"isGlobal": false,
"label": "Global Tagset",
"name": "gts",
"options": [
{
"value": "${VAR_GTS}",
"text": "${VAR_GTS}"
}
],
"query": "${VAR_GTS}",
"refresh": 0,
"skipUrlSync": true,
"type": "constant"
},
{
"current": {
"value": "${VAR_GLOBAL_TAG_FILTER}",
"text": "${VAR_GLOBAL_TAG_FILTER}"
"value": "${VAR_SCRAPE_INTERVAL}",
"text": "${VAR_SCRAPE_INTERVAL}"
},
"hide": 2,
"label": "global_tag_filter",
"name": "global_tag_filter",
"hide": 0,
"isGlobal": false,
"label": null,
"name": "scrape_interval",
"options": [
{
"value": "${VAR_GLOBAL_TAG_FILTER}",
"text": "${VAR_GLOBAL_TAG_FILTER}"
"value": "${VAR_SCRAPE_INTERVAL}",
"text": "${VAR_SCRAPE_INTERVAL}"
}
],
"query": "${VAR_GLOBAL_TAG_FILTER}",
"query": "${VAR_SCRAPE_INTERVAL}",
"refresh": 0,
"skipUrlSync": false,
"type": "constant"
}
]
},
"time": {
"from": "now-2d",
"from": "now-3h",
"to": "now"
},
"timepicker": {
Expand Down Expand Up @@ -400,7 +433,7 @@
]
},
"timezone": "",
"title": "Logging Metrics",
"uid": "04qKuLbmz",
"title": "Prometheus Logging Metrics",
"uid": "TMMnLoqmk",
"version": 1
}
Loading

0 comments on commit ef2aacd

Please sign in to comment.