K3s-cluster/monitoring/grafana/datasources.yaml
Tanguy Herbron cc08c4bbc9 feat(monitoring): Manifests for Grafana/Prometheus/Loki/Promtail
Add manifests and basic configuration for all monitoring and visualization services
2022-09-15 00:17:21 +02:00

30 lines
607 B
YAML

---
# Source: loki-stack/templates/datasources.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: loki-loki-stack
namespace: monitoring
labels:
app: loki-stack
chart: loki-stack-2.8.2
release: loki
heritage: Helm
grafana_datasource: "1"
data:
loki-stack-datasource.yaml: |-
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: "http://loki:3100"
version: 1
isDefault: true
- name: Prometheus
type: prometheus
access: proxy
url: "http://prometheus-svc:3100"
version: 1
isDefault: false