1
0
Fork 0
mirror of synced 2024-11-22 00:45:34 -05:00

Dashboard rationalization

Change-Id: Id1f7d2719080456bc7ceb168cb32ee6cd4d4a800
Closes-bug: PROD-20082
This commit is contained in:
Michal Kobus 2018-06-19 18:43:37 +02:00
parent 2d26b366a1
commit 758a110fa5

View file

@ -1,20 +1,40 @@
{%- raw %}
{
"annotations": {
"list": []
"list": [
{
"$$hashKey": "object:143",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"id": 134,
"iteration": 1529426501345,
"links": [],
"refresh": "1m",
"rows": [
{
"collapse": false,
"height": "250px",
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 40,
"panels": [],
"repeat": null,
"title": "General",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
@ -24,7 +44,7 @@
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"datasource": "prometheus",
"format": "none",
"gauge": {
"maxValue": 100,
@ -33,7 +53,13 @@
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 36,
"gridPos": {
"h": 4,
"w": 12,
"x": 0,
"y": 1
},
"id": 39,
"interval": null,
"links": [],
"mappingType": 1,
@ -61,26 +87,24 @@
"to": "null"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "grafana_stat_total_orgs",
"expr": "grafana_stat_totals_dashboard",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 60
}
],
"thresholds": "",
"title": "Organizations",
"title": "Dashboards",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -101,7 +125,7 @@
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"datasource": "prometheus",
"format": "none",
"gauge": {
"maxValue": 100,
@ -110,81 +134,11 @@
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 37,
"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": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "grafana_stat_total_playlists",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
"step": 60
}
],
"thresholds": "",
"title": "Playlists",
"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": null,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
"gridPos": {
"h": 4,
"w": 12,
"x": 12,
"y": 1
},
"id": 38,
"interval": null,
@ -214,12 +168,11 @@
"to": "null"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
"show": false
},
"tableColumn": "",
"targets": [
@ -253,7 +206,7 @@
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"datasource": "prometheus",
"format": "none",
"gauge": {
"maxValue": 100,
@ -262,7 +215,13 @@
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 39,
"gridPos": {
"h": 4,
"w": 12,
"x": 0,
"y": 5
},
"id": 37,
"interval": null,
"links": [],
"mappingType": 1,
@ -290,17 +249,16 @@
"to": "null"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "grafana_stat_totals_dashboard",
"expr": "grafana_stat_total_playlists",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@ -308,7 +266,7 @@
}
],
"thresholds": "",
"title": "Dashboards",
"title": "Playlists",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -319,33 +277,123 @@
}
],
"valueName": "current"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "General",
"titleSize": "h6"
},
{
"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": "prometheus",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 12,
"x": 12,
"y": 5
},
"id": 36,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "grafana_stat_total_orgs",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 60
}
],
"thresholds": "",
"title": "Organizations",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 41,
"panels": [],
"repeat": null,
"title": "Resources",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "prometheus",
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 10
},
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"show": false,
"total": false,
"values": false
},
@ -359,15 +407,14 @@
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "irate(process_cpu_seconds_total{job=\"grafana\"}[5m])",
"expr": "rate(process_cpu_seconds_total{job=\"grafana\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"legendFormat": "usage",
"refId": "A",
"step": 10
}
@ -375,7 +422,7 @@
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU Usage",
"title": "CPU usage rate",
"tooltip": {
"shared": true,
"sort": 0,
@ -391,8 +438,8 @@
},
"yaxes": [
{
"format": "percentunit",
"label": null,
"format": "short",
"label": "Seconds / Second",
"logBase": 1,
"max": null,
"min": "0",
@ -406,21 +453,33 @@
"min": null,
"show": true
}
]
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "prometheus",
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 10
},
"id": 33,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
@ -435,11 +494,11 @@
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:208",
"expr": "process_resident_memory_bytes{job=\"grafana\"}",
"format": "time_series",
"intervalFactor": 2,
@ -448,6 +507,7 @@
"step": 10
},
{
"$$hashKey": "object:209",
"expr": "process_virtual_memory_bytes{job=\"grafana\"}",
"format": "time_series",
"intervalFactor": 2,
@ -475,6 +535,7 @@
},
"yaxes": [
{
"$$hashKey": "object:258",
"format": "bytes",
"label": null,
"logBase": 1,
@ -483,6 +544,7 @@
"show": true
},
{
"$$hashKey": "object:259",
"format": "short",
"label": null,
"logBase": 1,
@ -490,22 +552,67 @@
"min": null,
"show": true
}
]
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "CPU and Memory",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"refresh": "1m",
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": []
"list": [
{
"allValue": null,
"current": {
"tags": [],
"text": "3m",
"value": "3m"
},
"hide": 0,
"includeAll": false,
"label": "rate_interval",
"multi": false,
"name": "rate_interval",
"options": [
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "2m",
"value": "2m"
},
{
"selected": true,
"text": "3m",
"value": "3m"
},
{
"selected": false,
"text": "5m",
"value": "5m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "15m",
"value": "15m"
}
],
"query": "1m,2m,3m,5m,10m,15m",
"type": "custom"
}
]
},
"time": {
"from": "now-1h",
@ -538,6 +645,7 @@
},
"timezone": "browser",
"title": "Grafana",
"version": 11
"uid": null,
"version": 12
}
{%- endraw %}