ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
75
vendor/workloads/grafana/datasources.yaml
vendored
Normal file
75
vendor/workloads/grafana/datasources.yaml
vendored
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
---
|
||||
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}
|
||||
Loading…
Reference in a new issue