fix stated time

added `"$host:$port"` to prevent showing the `Only queries that return single series/table is supported` warning
This commit is contained in:
Nicolas Embriz 2020-03-02 21:17:11 +01:00 committed by GitHub
parent 445926c6ee
commit 5de79dba1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@
}, },
"targets": [ "targets": [
{ {
"expr": "time() - haproxy_process_start_time_seconds", "expr": "time() - haproxy_process_start_time_seconds{instance=~\"$host:$port\"}",
"intervalFactor": 2, "intervalFactor": 2,
"refId": "A", "refId": "A",
"step": 1800 "step": 1800
@ -8848,4 +8848,4 @@
"timezone": "browser", "timezone": "browser",
"title": "HAProxy 2.0", "title": "HAProxy 2.0",
"version": 135 "version": 135
} }