75 lines
1.8 KiB
YAML
75 lines
1.8 KiB
YAML
|
|
---
|
||
|
|
apiVersion: grafana.integreatly.org/v1beta1
|
||
|
|
kind: GrafanaDatasource
|
||
|
|
metadata:
|
||
|
|
name: victoriametrics
|
||
|
|
namespace: grafana
|
||
|
|
spec:
|
||
|
|
resyncPeriod: 5m
|
||
|
|
instanceSelector:
|
||
|
|
matchLabels:
|
||
|
|
dashboards: grafana
|
||
|
|
valuesFrom:
|
||
|
|
- targetPath: secureJsonData.httpHeaderValue1
|
||
|
|
valueFrom:
|
||
|
|
secretKeyRef:
|
||
|
|
name: grafana-vmauth-metrics-token
|
||
|
|
key: token
|
||
|
|
datasource:
|
||
|
|
name: VictoriaMetrics
|
||
|
|
uid: victoriametrics
|
||
|
|
type: prometheus
|
||
|
|
access: proxy
|
||
|
|
url: http://vmauth-main.victoriametrics.svc.cluster.local:8427/prometheus
|
||
|
|
isDefault: true
|
||
|
|
jsonData:
|
||
|
|
timeInterval: 15s
|
||
|
|
httpHeaderName1: Authorization
|
||
|
|
secureJsonData:
|
||
|
|
httpHeaderValue1: Bearer ${token}
|
||
|
|
---
|
||
|
|
apiVersion: grafana.integreatly.org/v1beta1
|
||
|
|
kind: GrafanaDatasource
|
||
|
|
metadata:
|
||
|
|
name: minecraft-console
|
||
|
|
namespace: grafana
|
||
|
|
spec:
|
||
|
|
resyncPeriod: 5m
|
||
|
|
instanceSelector:
|
||
|
|
matchLabels:
|
||
|
|
dashboards: grafana
|
||
|
|
datasource:
|
||
|
|
name: Minecraft Console
|
||
|
|
uid: minecraft-console
|
||
|
|
type: quorate-datasource
|
||
|
|
access: proxy
|
||
|
|
---
|
||
|
|
apiVersion: grafana.integreatly.org/v1beta1
|
||
|
|
kind: GrafanaDatasource
|
||
|
|
metadata:
|
||
|
|
name: victorialogs
|
||
|
|
namespace: grafana
|
||
|
|
spec:
|
||
|
|
resyncPeriod: 5m
|
||
|
|
instanceSelector:
|
||
|
|
matchLabels:
|
||
|
|
dashboards: grafana
|
||
|
|
plugins:
|
||
|
|
- name: victoriametrics-logs-datasource
|
||
|
|
version: latest
|
||
|
|
valuesFrom:
|
||
|
|
- targetPath: secureJsonData.httpHeaderValue1
|
||
|
|
valueFrom:
|
||
|
|
secretKeyRef:
|
||
|
|
name: grafana-vmauth-logs-token
|
||
|
|
key: token
|
||
|
|
datasource:
|
||
|
|
name: VictoriaLogs
|
||
|
|
uid: victorialogs
|
||
|
|
type: victoriametrics-logs-datasource
|
||
|
|
access: proxy
|
||
|
|
url: http://vmauth-main.victoriametrics.svc.cluster.local:8427
|
||
|
|
jsonData:
|
||
|
|
httpHeaderName1: Authorization
|
||
|
|
secureJsonData:
|
||
|
|
httpHeaderValue1: Bearer ${token}
|