35 lines
736 B
Django/Jinja
35 lines
736 B
Django/Jinja
apiVersion: 1
|
|
|
|
datasources:
|
|
# Local Prometheus (RPi - infrastructure metrics)
|
|
- name: Prometheus-Infra
|
|
type: prometheus
|
|
access: proxy
|
|
url: http://localhost:9090
|
|
isDefault: true
|
|
editable: false
|
|
jsonData:
|
|
timeInterval: "30s"
|
|
httpMethod: POST
|
|
|
|
# Cluster Prometheus (Talos - Kubernetes metrics)
|
|
- name: Prometheus-Cluster
|
|
type: prometheus
|
|
access: proxy
|
|
url: {{ prometheus_cluster_url }}
|
|
isDefault: false
|
|
editable: false
|
|
jsonData:
|
|
timeInterval: "30s"
|
|
httpMethod: POST
|
|
|
|
# Loki (Talos cluster - centralized logs)
|
|
- name: Loki
|
|
type: loki
|
|
access: proxy
|
|
url: {{ loki_url }}
|
|
isDefault: false
|
|
editable: false
|
|
jsonData:
|
|
maxLines: 1000
|