Skip to content

Commit

Permalink
Enable gzip compression when sending event traces
Browse files Browse the repository at this point in the history
Typically results in ~80% less bandwidth used.

Signed-off-by: Gerhard Lazu <[email protected]>
  • Loading branch information
gerhard committed Sep 20, 2023
1 parent fd0b222 commit 93ea0b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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")},
Expand Down

0 comments on commit 93ea0b5

Please sign in to comment.