mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 00:16:23 +01:00
3e5cba3e78
Before, single and cluster deployments were provisioned with both Grafana datasources: single and cluster. But this resulted into a problem: single DS didn't work for cluster and vice versa. See https://github.com/VictoriaMetrics/VictoriaMetrics/pull/7113 This PR splits datasource file into 2 files: single and cluster. Now, these files are separately provisioned to single and cluster deployments correspondingly. Signed-off-by: hagen1778 <roman@victoriametrics.com>
13 lines
436 B
YAML
13 lines
436 B
YAML
apiVersion: 1
|
|
|
|
datasources:
|
|
- name: VictoriaMetrics
|
|
type: victoriametrics-datasource
|
|
access: proxy
|
|
url: http://victoriametrics:8428
|
|
isDefault: true
|
|
# see https://grafana.com/docs/grafana/latest/administration/provisioning/#json-data
|
|
jsonData:
|
|
# vmuiUrl will auto resolve into http://victoriametrics:8428 and won't work at user's machine
|
|
# so we override it
|
|
vmuiUrl: http://localhost:8428/vmui |