.
This commit is contained in:
@@ -1,45 +1,4 @@
|
|||||||
---
|
|
||||||
apiVersion: grafana.integreatly.org/v1beta1
|
|
||||||
kind: GrafanaDatasource
|
|
||||||
metadata:
|
|
||||||
name: loki
|
|
||||||
namespace: grafana
|
|
||||||
spec:
|
|
||||||
instanceSelector:
|
|
||||||
matchLabels:
|
|
||||||
dashboards: "grafana"
|
|
||||||
datasource:
|
|
||||||
name: Loki
|
|
||||||
type: loki
|
|
||||||
access: proxy
|
|
||||||
url: http://loki.loki.svc.k8s.undercloud.local:3100
|
|
||||||
isDefault: false
|
|
||||||
editable: true
|
|
||||||
jsonData:
|
|
||||||
maxLines: 1000
|
|
||||||
---
|
|
||||||
apiVersion: grafana.integreatly.org/v1beta1
|
|
||||||
kind: GrafanaDatasource
|
|
||||||
metadata:
|
|
||||||
name: victoriametrics
|
|
||||||
namespace: grafana
|
|
||||||
spec:
|
|
||||||
instanceSelector:
|
|
||||||
matchLabels:
|
|
||||||
dashboards: "grafana"
|
|
||||||
datasource:
|
|
||||||
name: VictoriaMetrics
|
|
||||||
type: prometheus
|
|
||||||
access: proxy
|
|
||||||
isDefault: true
|
|
||||||
editable: true
|
|
||||||
url: http://REPLACE_ME:8428
|
|
||||||
jsonData:
|
|
||||||
httpMethod: POST
|
|
||||||
prometheusType: Prometheus
|
|
||||||
prometheusVersion: 2.24.0
|
|
||||||
timeInterval: 30s
|
|
||||||
---
|
|
||||||
#Kubernetes dashboard from loki / alloy
|
#Kubernetes dashboard from loki / alloy
|
||||||
apiVersion: grafana.integreatly.org/v1beta1
|
apiVersion: grafana.integreatly.org/v1beta1
|
||||||
kind: GrafanaDashboard
|
kind: GrafanaDashboard
|
||||||
|
|||||||
42
grafana/data-sources.yaml
Normal file
42
grafana/data-sources.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
apiVersion: grafana.integreatly.org/v1beta1
|
||||||
|
kind: GrafanaDatasource
|
||||||
|
metadata:
|
||||||
|
name: loki
|
||||||
|
namespace: grafana
|
||||||
|
spec:
|
||||||
|
instanceSelector:
|
||||||
|
matchLabels:
|
||||||
|
dashboards: "grafana"
|
||||||
|
datasource:
|
||||||
|
name: Loki
|
||||||
|
type: loki
|
||||||
|
access: proxy
|
||||||
|
url: http://loki.loki.svc.k8s.undercloud.local:3100
|
||||||
|
isDefault: false
|
||||||
|
editable: true
|
||||||
|
jsonData:
|
||||||
|
maxLines: 1000
|
||||||
|
---
|
||||||
|
apiVersion: grafana.integreatly.org/v1beta1
|
||||||
|
kind: GrafanaDatasource
|
||||||
|
metadata:
|
||||||
|
name: victoriametrics
|
||||||
|
namespace: grafana
|
||||||
|
spec:
|
||||||
|
instanceSelector:
|
||||||
|
matchLabels:
|
||||||
|
dashboards: "grafana"
|
||||||
|
datasource:
|
||||||
|
name: VictoriaMetrics
|
||||||
|
type: prometheus
|
||||||
|
access: proxy
|
||||||
|
isDefault: true
|
||||||
|
editable: true
|
||||||
|
url: http://vmsingle-demo.vm.svc.k8s.undercloud.local:8429
|
||||||
|
jsonData:
|
||||||
|
httpMethod: POST
|
||||||
|
prometheusType: Prometheus
|
||||||
|
prometheusVersion: 2.24.0
|
||||||
|
timeInterval: 30s
|
||||||
|
---
|
||||||
Reference in New Issue
Block a user