--- apiVersion: grafana.integreatly.org/v1beta1 kind: GrafanaDatasource metadata: name: victoriametrics namespace: grafana spec: instanceSelector: matchLabels: dashboards: "grafana" # uid matches the previous default datasource so the imported dashboards # (which hardcode this uid or use the default) resolve without edits. datasource: name: "VictoriaMetrics" type: "prometheus" uid: "det2y55dac4jkc" access: "proxy" url: "http://vmselect-main.observability.svc.cluster.local:8481/select/0/prometheus" isDefault: true jsonData: timeInterval: "15s" httpMethod: "POST"