add elastic data source
This commit is contained in:
23
deploy/grafana/data-sources.yaml
Normal file
23
deploy/grafana/data-sources.yaml
Normal 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
|
||||
Reference in New Issue
Block a user