nixcfg/experimental/app/telemetry-elastic/config/apm-config.yaml

21 lines
772 B
YAML
Raw Permalink Normal View History

2022-02-17 14:06:09 +00:00
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" }}"
2022-02-26 17:56:16 +00:00
instrumentation:
enabled: true
environment: staging
2022-02-26 17:56:16 +00:00
logging:
level: warning
to_stderr: true