mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
deployment/docker: update Grafana URLs to match latest format (#4060)
See: #4019 Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
This commit is contained in:
parent
a8d1497024
commit
8a6acce7d3
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ services:
|
||||||
# display source of alerts in grafana
|
# display source of alerts in grafana
|
||||||
- '-external.url=http://127.0.0.1:3000' #grafana outside container
|
- '-external.url=http://127.0.0.1:3000' #grafana outside container
|
||||||
# when copypaste the line below be aware of '$$' for escaping in '$expr'
|
# when copypaste the line below be aware of '$$' for escaping in '$expr'
|
||||||
- '--external.alert.source=explore?orgId=1&left=["now-1h","now","VictoriaMetrics",{"expr":{{$$expr|jsonEscape|queryEscape}} },{"mode":"Metrics"},{"ui":[true,true,true,"none"]}]'
|
- '--external.alert.source=explore?orgId=1&left={"datasource":"VictoriaMetrics","queries":[{"expr":{{$$expr|jsonEscape|queryEscape}},"refId":"A"}],"range":{"from":"now-1h","to":"now"}}'
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
alertmanager:
|
alertmanager:
|
||||||
|
|
|
@ -76,7 +76,7 @@ services:
|
||||||
# display source of alerts in grafana
|
# display source of alerts in grafana
|
||||||
- "--external.url=http://127.0.0.1:3000" #grafana outside container
|
- "--external.url=http://127.0.0.1:3000" #grafana outside container
|
||||||
# when copypaste the line be aware of '$$' for escaping in '$expr'
|
# when copypaste the line be aware of '$$' for escaping in '$expr'
|
||||||
- '--external.alert.source=explore?orgId=1&left=["now-1h","now","VictoriaMetrics",{"expr":{{$$expr|jsonEscape|queryEscape}} },{"mode":"Metrics"},{"ui":[true,true,true,"none"]}]'
|
- '--external.alert.source=explore?orgId=1&left={"datasource":"VictoriaMetrics","queries":[{"expr":{{$$expr|jsonEscape|queryEscape}},"refId":"A"}],"range":{"from":"now-1h","to":"now"}}'
|
||||||
networks:
|
networks:
|
||||||
- vm_net
|
- vm_net
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in a new issue