2024-01-22 15:45:31 +01:00
|
|
|
apiVersion: 1
|
|
|
|
|
|
|
|
# List of data sources to insert/update depending on what's
|
|
|
|
# available in the database.
|
|
|
|
datasources:
|
|
|
|
# <string, required> Name of the VictoriaMetrics datasource
|
|
|
|
# displayed in Grafana panels and queries.
|
|
|
|
- name: VictoriaMetrics
|
|
|
|
# <string, required> Sets the data source type.
|
|
|
|
type: victoriametrics-datasource
|
|
|
|
# <string, required> Sets the access mode, either
|
|
|
|
# proxy or direct (Server or Browser in the UI).
|
|
|
|
# Some data sources are incompatible with any setting
|
|
|
|
# but proxy (Server).
|
|
|
|
access: proxy
|
|
|
|
# <string> Sets default URL of the single node version of VictoriaMetrics
|
|
|
|
url: http://victoriametrics:8428
|
|
|
|
# <string> Sets the pre-selected datasource for new panels.
|
|
|
|
# You can set only one default data source per organization.
|
|
|
|
isDefault: true
|
2024-06-25 13:56:52 +02:00
|
|
|
# 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
|
2024-01-22 15:45:31 +01:00
|
|
|
|
|
|
|
# <string, required> Name of the VictoriaMetrics datasource
|
|
|
|
# displayed in Grafana panels and queries.
|
|
|
|
- name: VictoriaMetrics - cluster
|
|
|
|
# <string, required> Sets the data source type.
|
|
|
|
type: victoriametrics-datasource
|
|
|
|
# <string, required> Sets the access mode, either
|
|
|
|
# proxy or direct (Server or Browser in the UI).
|
|
|
|
# Some data sources are incompatible with any setting
|
|
|
|
# but proxy (Server).
|
|
|
|
access: proxy
|
|
|
|
# <string> Sets default URL of the cluster version of VictoriaMetrics
|
|
|
|
url: http://vmauth:8427/select/0/prometheus
|
|
|
|
# <string> Sets the pre-selected datasource for new panels.
|
|
|
|
# You can set only one default data source per organization.
|
|
|
|
isDefault: false
|
2024-06-25 13:56:52 +02:00
|
|
|
# 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
|