From ffd531c0157983139561951d780eea552e1a7daa Mon Sep 17 00:00:00 2001 From: jeremydvoss Date: Wed, 8 May 2024 14:49:41 -0700 Subject: [PATCH] Instead of changing base distro functionality, just passing {} --- .../src/opentelemetry/distro/__init__.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/opentelemetry-distro/src/opentelemetry/distro/__init__.py b/opentelemetry-distro/src/opentelemetry/distro/__init__.py index 6f6e5e7237..e38271bd52 100644 --- a/opentelemetry-distro/src/opentelemetry/distro/__init__.py +++ b/opentelemetry-distro/src/opentelemetry/distro/__init__.py @@ -41,14 +41,5 @@ def _configure(self, **kwargs): # Since the distro sets these env vars, these params are not necesary. # However they could replace these env var defaults. # Otherwise, they just serve as an example. - configuration_kwargs = { - # Could be trace_exporters or span_exporters - "span_exporter_names": ("otlp"), - "metric_exporter_names": ("otlp"), - "log_exporter_names": ("otlp"), - "sampler_name": None, - # Could be attribute dict or Resource object - "resource_attributes": {}, - # Could be string or bool - "logging_enabled": False, - } + configuration_kwargs = {} + return configuration_kwargs