VictoriaMetrics/deployment/docker/provisioning/datasources/victoriametrics-datasource/cluster.yml
Roman Khavronenko 3e5cba3e78
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-28 21:21:18 +02:00

13 lines
458 B
YAML

apiVersion: 1
datasources:
- name: VictoriaMetrics - cluster
type: victoriametrics-datasource
access: proxy
url: http://vmauth:8427/select/0/prometheus
isDefault: true
# see https://grafana.com/docs/grafana/latest/administration/provisioning/#json-data
jsonData:
# vmuiUrl will auto resolve into http://vmauth:8427 and won't work at user's machine
# so we override it
vmuiUrl: http://localhost:8427/select/0/vmui