Skip to content

Commit

Permalink
Set correct nginx_up query and instance variable expression
Browse files Browse the repository at this point in the history
Signed-off-by: EdgarasG <edgaras.giedre@hostinger.com>
  • Loading branch information
edgarasg authored and Rulox committed Aug 15, 2019
1 parent f017367 commit 29ec94b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions grafana/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"tableColumn": "",
"targets": [
{
"expr": "nginx_up{instance=\"$instance\"}",
"expr": "nginx_up{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
Expand Down Expand Up @@ -486,14 +486,14 @@
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(instance)",
"definition": "label_values(nginx_up, instance)",
"hide": 0,
"includeAll": true,
"label": "",
"multi": true,
"name": "instance",
"options": [],
"query": "label_values(instance)",
"query": "label_values(nginx_up, instance)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand Down Expand Up @@ -539,4 +539,4 @@
"title": "NGINX",
"uid": "MsjffzSZz",
"version": 1
}
}

0 comments on commit 29ec94b

Please sign in to comment.