Skip to content

Instantly share code, notes, and snippets.

@anubhavcodes
Created November 17, 2020 14:40
Show Gist options
  • Save anubhavcodes/8abf16770eda07916f4c802cb7b80205 to your computer and use it in GitHub Desktop.
Save anubhavcodes/8abf16770eda07916f4c802cb7b80205 to your computer and use it in GitHub Desktop.
Grafana reproduce bug for #28897
{
"annotations": {
"list": [
{
"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,
"id": 1,
"iteration": 1605623383959,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "test_gauge{component=\"$component\", service=\"$service\"}",
"interval": "",
"legendFormat": "{{component}}-{{service}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Test Gauge",
"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": 26,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {
"selected": true,
"text": "component2",
"value": "component2"
},
"datasource": "Prometheus",
"definition": "test_gauge",
"error": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "component",
"options": [
{
"selected": false,
"text": "component0",
"value": "component0"
},
{
"selected": false,
"text": "component1",
"value": "component1"
},
{
"selected": true,
"text": "component2",
"value": "component2"
}
],
"query": "test_gauge",
"refresh": 0,
"regex": "/component=\"([^:\"]*)/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"selected": true,
"tags": [],
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": "Prometheus",
"definition": "test_gauge{component=\"$component\"}",
"error": null,
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "service",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "service4",
"value": "service4"
},
{
"selected": false,
"text": "service5",
"value": "service5"
},
{
"selected": false,
"text": "service6",
"value": "service6"
}
],
"query": "test_gauge{component=\"$component\"}",
"refresh": 0,
"regex": "/service=\"([^:\"]*)/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Test Dashboard",
"uid": "WTewptTGk",
"version": 6
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment