VictoriaMetrics/deployment/docker/provisioning/datasources/victoriametrics-datasource/single.yml
Roman Khavronenko fd890a2771
deployment: separate datasource between single and cluster versions (#7119)
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>
2024-09-27 19:08:05 +02:00

13 lines
No EOL
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