Skip to content

Instantly share code, notes, and snippets.

@hagen1778
Created October 3, 2018 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hagen1778/0bd00b0555cf8f4090a9b6195148f6b8 to your computer and use it in GitHub Desktop.
Save hagen1778/0bd00b0555cf8f4090a9b6195148f6b8 to your computer and use it in GitHub Desktop.
{
"__inputs": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.3.0-beta1"
}
],
"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": null,
"iteration": 1538576663323,
"links": [],
"panels": [],
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"tags": [],
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"label": null,
"name": "ds",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "/(Prometheus|Robust perception)/",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "$ds",
"hide": 1,
"includeAll": false,
"label": null,
"multi": false,
"name": "instance",
"options": [],
"query": "label_values(up, instance)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$ds",
"hide": 1,
"includeAll": false,
"label": "goroutines",
"multi": false,
"name": "goroutines",
"options": [],
"query": "query_result(go_goroutines{instance=\"$instance\"}) ",
"refresh": 2,
"regex": "/(\\d+) \\d+$/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$ds",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "filtered_goroutines",
"options": [],
"query": "query_result((go_goroutines + $goroutines)>$goroutines) ",
"refresh": 2,
"regex": "/(\\d+) \\d+$/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Prometheus datasource variable 13291",
"uid": "_9-r6LTiz",
"version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment