Skip to content

Commit

Permalink
Merge pull request #48 from odigos-io/send-resource-attributes-also-i…
Browse files Browse the repository at this point in the history
…n-enterprise

feat: send resource attributes also once exporting using ebpf
  • Loading branch information
tamirdavid1 authored Dec 8, 2024
2 parents ce54ab2 + 2a96479 commit 0503b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initializer/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def initialize_traces_if_enabled(trace_exporters, resource, span_processor = Non

# Exporting using EBPF
else:
provider = TracerProvider(sampler=sampler)
provider = TracerProvider(resource=resource, sampler=sampler)
set_tracer_provider(provider)
if span_processor is not None:
provider.add_span_processor(span_processor)
Expand Down

0 comments on commit 0503b98

Please sign in to comment.