f5 / otel-arrow-adapter

Adapter used to convert OTEL batches to/from OTEL Arrow batches in both directions.
Apache License 2.0
39 stars 6 forks source link

Reset the scope ID when resource ID changes #202

Closed jmacd closed 1 year ago

jmacd commented 1 year ago

This corrects a problem discovered in an environment where Scope fields were unused, thus constant across Resources. In the fix here, which is also tested, the current scopeID value being used in the Producer would be incorrect since it matches the previous from a different resource.