add elastic data source

This commit is contained in:
2025-03-31 10:04:29 +02:00
parent 25946ad705
commit f0e10ed035
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-datasources
namespace: grafana
data:
datasources.yaml: |
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus-k8s.monitoring:9090
isDefault: true
editable: false
- name: Elasticsearch
type: elasticsearch
access: proxy
url: https://elasticsearch-ha-es-http.elastic-system:9200
jsonData:
esVersion: 8.17.4
timeField: "@timestamp"
editable: false