aboutsummaryrefslogtreecommitdiff
path: root/script/telemetry/elastic/grafana/provisioning/datasources
diff options
context:
space:
mode:
authorMaximilien <maximilien@deuxfleurs.fr>2022-02-17 09:38:57 +0100
committerAlex Auvolat <alex@adnab.me>2022-03-14 10:51:52 +0100
commitb6561f6e1bcb6a8de13a186405a480e356df89d8 (patch)
tree344f40eae5a2395454c193b0ba67fedfc771543b /script/telemetry/elastic/grafana/provisioning/datasources
parent2cab84b1fe423a41b356211e592a614c95ec4e0c (diff)
downloadgarage-b6561f6e1bcb6a8de13a186405a480e356df89d8.tar.gz
garage-b6561f6e1bcb6a8de13a186405a480e356df89d8.zip
Add docker-compose for traces & metrics
Diffstat (limited to 'script/telemetry/elastic/grafana/provisioning/datasources')
-rw-r--r--script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml b/script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml
new file mode 100644
index 00000000..e46e7ac9
--- /dev/null
+++ b/script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml
@@ -0,0 +1,20 @@
+apiVersion: 1
+
+datasources:
+ - name: DS_ELASTICSEARCH
+ type: elasticsearch
+ access: proxy
+ url: http://elastic:9700
+ password: ''
+ user: ''
+ database: metricbeat-*
+ basicAuth: false
+ isDefault: true
+ jsonData:
+ esVersion: 70
+ logLevelField: ''
+ logMessageField: ''
+ maxConcurrentShardRequests: 5
+ timeField: "@timestamp"
+ timeInterval: 10s
+ readOnly: false