Specify `consul` dynamic hostname, instead of static IP addresses.

This commit is contained in:
Kazuhiro MUSASHI 2024-04-07 22:35:34 +09:00
parent caa10e333d
commit 63a8f3fb94
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ datasources:
# <int> org id. will default to orgId 1 if not specified # <int> org id. will default to orgId 1 if not specified
orgId: 1 orgId: 1
# <string> url # <string> url
url: http://localhost:3100 url: http://loki.service.consul:3100
version: 1 version: 1
# <bool> allow users to edit datasources from the UI. # <bool> allow users to edit datasources from the UI.
editable: false editable: false

View File

@ -18,7 +18,7 @@ datasources:
# <int> org id. will default to orgId 1 if not specified # <int> org id. will default to orgId 1 if not specified
orgId: 1 orgId: 1
# <string> url # <string> url
url: http://localhost:9090 url: http://prometheus.service.consul:9090
version: 1 version: 1
# <bool> allow users to edit datasources from the UI. # <bool> allow users to edit datasources from the UI.
editable: false editable: false