apiVersion: 1 # List of data sources to insert/update depending on what's # available in the database. datasources: # Name of the VictoriaMetrics datasource # displayed in Grafana panels and queries. - name: VictoriaMetrics # Sets the data source type. type: victoriametrics-datasource # 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 # Sets default URL of the single node version of VictoriaMetrics url: http://victoriametrics:8428 # Sets the pre-selected datasource for new panels. # You can set only one default data source per organization. isDefault: true # Name of the VictoriaMetrics datasource # displayed in Grafana panels and queries. - name: VictoriaMetrics - cluster # Sets the data source type. type: victoriametrics-datasource # 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 # Sets default URL of the cluster version of VictoriaMetrics url: http://vmauth:8427/select/0/prometheus # Sets the pre-selected datasource for new panels. # You can set only one default data source per organization. isDefault: false