mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46: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>
14 lines
458 B
YAML
14 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
|