From 93ea0b5edff5803844ce832c32653feb21b5d50d Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Wed, 20 Sep 2023 09:03:46 +0100 Subject: [PATCH] Enable gzip compression when sending event traces Typically results in ~80% less bandwidth used. Signed-off-by: Gerhard Lazu --- config/config.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.exs b/config/config.exs index 33ab7ffa53..1148d3a51f 100644 --- a/config/config.exs +++ b/config/config.exs @@ -118,6 +118,7 @@ if System.get_env("HONEYCOMB_API_KEY") do config :opentelemetry, traces_exporter: :otlp config :opentelemetry_exporter, otlp_protocol: :http_protobuf, + otlp_compression: :gzip, otlp_endpoint: "https://api.honeycomb.io:443", otlp_headers: [ {"x-honeycomb-team", SecretOrEnv.get("HONEYCOMB_API_KEY")},