Skip to content

Instantly share code, notes, and snippets.

@bobrik
Created October 1, 2018 02:24
Show Gist options
  • Save bobrik/4d011d4c28f4729207fc2b933a02ede5 to your computer and use it in GitHub Desktop.
Save bobrik/4d011d4c28f4729207fc2b933a02ede5 to your computer and use it in GitHub Desktop.
{
"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": 2300,
"iteration": 1538360272882,
"links": [],
"panels": [],
"refresh": false,
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"tags": [],
"text": "prometheus-106dm2",
"value": "prometheus-106dm2"
},
"hide": 1,
"label": null,
"name": "prometheus",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": ".*",
"current": {
"text": "106dm1",
"value": "106dm1"
},
"datasource": "$prometheus",
"hide": 1,
"includeAll": false,
"label": null,
"multi": false,
"name": "instance",
"options": [],
"query": "label_values(colo_instance:node_cpu:count, instance)",
"refresh": 2,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "40",
"value": "40"
},
"datasource": "$prometheus",
"hide": 2,
"includeAll": false,
"label": null,
"multi": false,
"name": "cpus",
"options": [],
"query": "query_result(colo_instance:node_cpu_info:count{instance=\"$instance\"})",
"refresh": 2,
"regex": "/(\\d+) \\d+$/",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "All",
"value": "$__all"
},
"datasource": "clickhouse-pdx-main-vertica",
"hide": 2,
"includeAll": true,
"label": null,
"multi": false,
"name": "filtered_cpus",
"options": [],
"query": "SELECT arrayJoin(range($cpus)) AS cpus",
"refresh": 2,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {
"now": true,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "utc",
"title": "Grafana issue 13291",
"uid": "I8f5LlTiz",
"version": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment