Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azuremonitorexporter flushes on each first Span #37214

Open
an-mmx opened this issue Jan 14, 2025 · 1 comment · May be fixed by #37217
Open

azuremonitorexporter flushes on each first Span #37214

an-mmx opened this issue Jan 14, 2025 · 1 comment · May be fixed by #37217
Labels
bug Something isn't working exporter/azuremonitor needs triage New item requiring triage

Comments

@an-mmx
Copy link
Contributor

an-mmx commented Jan 14, 2025

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

@an-mmx an-mmx added bug Something isn't working needs triage New item requiring triage labels Jan 14, 2025
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/azuremonitor needs triage New item requiring triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant