From 56ff4c5cfdfc7fd84a10bd1d69418109e25c2560 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 20 Sep 2022 17:13:46 +0200 Subject: Prod-like telemetry into staging --- .../bad.telemetry-elastic/config/apm-config.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 experimental/bad.telemetry-elastic/config/apm-config.yaml (limited to 'experimental/bad.telemetry-elastic/config/apm-config.yaml') diff --git a/experimental/bad.telemetry-elastic/config/apm-config.yaml b/experimental/bad.telemetry-elastic/config/apm-config.yaml new file mode 100644 index 0000000..07a88bd --- /dev/null +++ b/experimental/bad.telemetry-elastic/config/apm-config.yaml @@ -0,0 +1,20 @@ +apm-server: + # Defines the host and port the server is listening on. Use "unix:/path/to.sock" to listen on a unix domain socket. + host: "0.0.0.0:8200" +#-------------------------- Elasticsearch output -------------------------- +output.elasticsearch: + # Array of hosts to connect to. + # Scheme and port can be left out and will be set to the default (`http` and `9200`). + # In case you specify and additional path, the scheme is required: `http://localhost:9200/path`. + # IPv6 addresses should always be defined as: `https://[2001:db8::1]:9200`. + hosts: ["localhost:9200"] + username: "elastic" + password: "{{ key "secrets/telemetry/elastic_passwords/elastic" }}" + +instrumentation: + enabled: true + environment: staging + +logging: + level: warning + to_stderr: true -- cgit v1.2.3