-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
bugSomething isn't workingSomething isn't workingexporter/azuremonitorneeds triageNew item requiring triageNew item requiring triage
Description
Component(s)
exporter/azuremonitor
What happened?
Description
AzureMonitorExporter calls Flush on each Span.
It is caused by this commit. It seems that Flush must be called after all Spans collected into batches, outside the Resourse/ Scope/ Spans loop.
Steps to Reproduce
To have constant Spans flow into OTEL Collector with AzureMonitorExporter enabled.
Expected Result
AzureMonitorExporter collects Spans in batches and calls Flush.
Actual Result
AzureMonitorExporter calls Flush on each Span.
Collector version
v0.116.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingexporter/azuremonitorneeds triageNew item requiring triageNew item requiring triage