aboutsummaryrefslogtreecommitdiff
path: root/script/telemetry/elastic
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-04-06 14:10:18 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-04-07 16:12:35 +0200
commit62f0715abe995e7ce8de1adbd62b67f7159a9945 (patch)
tree51d3e7d9adbb1adda100dcab34d451d0696b25ff /script/telemetry/elastic
parent7e1ac51b580afa8e900206e7cc49791ed0a00d94 (diff)
downloadgarage-62f0715abe995e7ce8de1adbd62b67f7159a9945.tar.gz
garage-62f0715abe995e7ce8de1adbd62b67f7159a9945.zip
Add/Fix OpenTelemetrydoc/k8s
Diffstat (limited to 'script/telemetry/elastic')
-rw-r--r--script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml7
-rw-r--r--script/telemetry/elastic/otel-config.yaml2
2 files changed, 4 insertions, 5 deletions
diff --git a/script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml b/script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml
index e46e7ac9..bcb96b95 100644
--- a/script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml
+++ b/script/telemetry/elastic/grafana/provisioning/datasources/elastic.yaml
@@ -4,17 +4,16 @@ datasources:
- name: DS_ELASTICSEARCH
type: elasticsearch
access: proxy
- url: http://elastic:9700
+ url: http://localhost:9200
password: ''
user: ''
- database: metricbeat-*
+ database: apm-*
basicAuth: false
isDefault: true
jsonData:
- esVersion: 70
+ esVersion: 7.10.0
logLevelField: ''
logMessageField: ''
maxConcurrentShardRequests: 5
timeField: "@timestamp"
- timeInterval: 10s
readOnly: false
diff --git a/script/telemetry/elastic/otel-config.yaml b/script/telemetry/elastic/otel-config.yaml
index cd119f0a..51ff3f5d 100644
--- a/script/telemetry/elastic/otel-config.yaml
+++ b/script/telemetry/elastic/otel-config.yaml
@@ -13,7 +13,7 @@ receivers:
- job_name: "garage"
scrape_interval: 5s
static_configs:
- - targets: ["localhost:3909"]
+ - targets: ["localhost:3903"]
exporters:
logging: