Skip to content

Instantly share code, notes, and snippets.

@kfdm
Last active September 4, 2017 12:12
Show Gist options
  • Save kfdm/5e8a287c816efde33a4bb2f37f697016 to your computer and use it in GitHub Desktop.
Save kfdm/5e8a287c816efde33a4bb2f37f697016 to your computer and use it in GitHub Desktop.
Prometheus Dropping Port
{
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"rows": [
{
"collapse": false,
"height": "250px",
"panels": [],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "prometheus",
"value": "prometheus"
},
"hide": 0,
"label": null,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "instance",
"options": [],
"query": "label_values(node_load1, instance)",
"refresh": 1,
"regex": "([^\\\"]+):9100",
"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": "New dashboard Copy",
"version": 1
}
scrape_configs:
- job_name: '{{ jobname }}'
relabel_configs:
- source_labels: [__address__]
target_label: instance
regex: "(.*):.*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment