aboutsummaryrefslogtreecommitdiff
path: root/experimental/bad.telemetry-elastic/config/grafana/provisioning
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-20 17:13:46 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-20 17:13:46 +0200
commit56ff4c5cfdfc7fd84a10bd1d69418109e25c2560 (patch)
tree2dced4fd3861b147e1f3b0f617ecad2cd627571a /experimental/bad.telemetry-elastic/config/grafana/provisioning
parent9b6bdc709253ba20d344bee711e5b7bf29bf03c7 (diff)
downloadnixcfg-56ff4c5cfdfc7fd84a10bd1d69418109e25c2560.tar.gz
nixcfg-56ff4c5cfdfc7fd84a10bd1d69418109e25c2560.zip
Prod-like telemetry into staging
Diffstat (limited to 'experimental/bad.telemetry-elastic/config/grafana/provisioning')
-rw-r--r--experimental/bad.telemetry-elastic/config/grafana/provisioning/datasources/elastic.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/experimental/bad.telemetry-elastic/config/grafana/provisioning/datasources/elastic.yaml b/experimental/bad.telemetry-elastic/config/grafana/provisioning/datasources/elastic.yaml
new file mode 100644
index 0000000..7d2277c
--- /dev/null
+++ b/experimental/bad.telemetry-elastic/config/grafana/provisioning/datasources/elastic.yaml
@@ -0,0 +1,21 @@
+apiVersion: 1
+
+datasources:
+ - name: DS_ELASTICSEARCH
+ type: elasticsearch
+ access: proxy
+ url: http://localhost:9200
+ password: '{{ key "secrets/telemetry/elastic_passwords/elastic" }}'
+ user: 'elastic'
+ database: metrics-*
+ basicAuth: false
+ isDefault: true
+ jsonData:
+ esVersion: "8.2.0"
+ includeFrozen: false
+ logLevelField: ''
+ logMessageField: ''
+ maxConcurrentShardRequests: 5
+ timeField: "@timestamp"
+ timeInterval: "5s"
+ readOnly: false