Skip to content

Commit

Permalink
Fix: uptime multiple metrics error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiandongx committed Oct 11, 2019
1 parent 18c8180 commit 0ebd446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ginprom-service.json
Expand Up @@ -81,7 +81,7 @@
"tableColumn": "",
"targets": [
{
"expr": "(time() - service_uptime) * 1000",
"expr": "(time() - service_uptime{job=~\"$job\"}) * 1000",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
Expand Down Expand Up @@ -254,7 +254,7 @@
"tableColumn": "",
"targets": [
{
"expr": "service_uptime",
"expr": "service_uptime{job=~\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
Expand Down

0 comments on commit 0ebd446

Please sign in to comment.