Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Remove all occurences of honeycomb (#6722)

Cenk Kücüka78014f70a0a
diff --git a/config/runtime.exs b/config/runtime.exs
index c080d61015..7d837e9461 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -250,8 +250,6 @@ runtime_metadata = [
config :plausible, :runtime_metadata, runtime_metadata
sentry_dsn = get_var_from_path_or_env(config_dir, "SENTRY_DSN")
-honeycomb_api_key = get_var_from_path_or_env(config_dir, "HONEYCOMB_API_KEY")
-honeycomb_dataset = get_var_from_path_or_env(config_dir, "HONEYCOMB_DATASET")
paddle_auth_code = get_var_from_path_or_env(config_dir, "PADDLE_VENDOR_AUTH_CODE")
paddle_vendor_id = get_var_from_path_or_env(config_dir, "PADDLE_VENDOR_ID")
google_cid = get_var_from_path_or_env(config_dir, "GOOGLE_CLIENT_ID")
@@ -265,7 +263,7 @@ help_scout_signature_key = get_var_from_path_or_env(config_dir, "HELP_SCOUT_SIGN
help_scout_vault_key = get_var_from_path_or_env(config_dir, "HELP_SCOUT_VAULT_KEY")
otlp_endpoint =
- get_var_from_path_or_env(config_dir, "OTLP_ENDPOINT", "https://api.honeycomb.io:443")
+ get_var_from_path_or_env(config_dir, "OTLP_ENDPOINT")
geolite2_country_db =
get_var_from_path_or_env(
@@ -994,7 +992,7 @@ if geonames_source_file do
config :location, :geonames_source_file, geonames_source_file
end
-if honeycomb_api_key && honeycomb_dataset do
+if otlp_endpoint do
config :opentelemetry,
resource: Plausible.OpenTelemetry.resource_attributes(runtime_metadata),
span_processor: :batch,
@@ -1002,11 +1000,7 @@ if honeycomb_api_key && honeycomb_dataset do
config :opentelemetry_exporter,
otlp_protocol: :grpc,
- otlp_endpoint: otlp_endpoint,
- otlp_headers: [
- {"x-honeycomb-team", honeycomb_api_key},
- {"x-honeycomb-dataset", honeycomb_dataset}
- ]
+ otlp_endpoint: otlp_endpoint
else
config :opentelemetry,
sampler: :always_off,