Skip to content

Commit

Permalink
Instead of changing base distro functionality, just passing {}
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydvoss committed May 8, 2024
1 parent 8969961 commit ffd531c
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions opentelemetry-distro/src/opentelemetry/distro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ffd531c

Please sign in to comment.