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

log/sdk: Implement BatchingProcessor #5063

Closed
8 tasks done
pellared opened this issue Mar 13, 2024 · 1 comment
Closed
8 tasks done

log/sdk: Implement BatchingProcessor #5063

pellared opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
area:logs Part of OpenTelemetry logs pkg:SDK Related to an SDK package

Comments

@pellared pellared added pkg:SDK Related to an SDK package area:logs Part of OpenTelemetry logs labels Mar 13, 2024
@MrAlias MrAlias self-assigned this Mar 19, 2024
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this issue Mar 25, 2024
The batching log processor will generate records from 4 different
locations (polling, OnEmit, ForceFlush, Shutdown). In order to ensure an
Exporter is called serially, as is required by the interface, this
function will be used in the processor to centralize the interaction
with its Exporter.

Part of open-telemetry#5063.

See open-telemetry#5093 for the implementation use.
MrAlias added a commit that referenced this issue Mar 27, 2024
* Add export sync

The batching log processor will generate records from 4 different
locations (polling, OnEmit, ForceFlush, Shutdown). In order to ensure an
Exporter is called serially, as is required by the interface, this
function will be used in the processor to centralize the interaction
with its Exporter.

Part of #5063.

See #5093 for the implementation use.

* Concurrent safe testExporter

---------

Co-authored-by: Sam Xie <sam@samxie.me>
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this issue Apr 19, 2024
Ensure an empty BatchProcessor does not panic when any method is called.

Initialize the empty BatchProcessor to use the default/envar setup if
not created with NewBatchProcessor.

Part of open-telemetry#5063
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this issue Apr 19, 2024
Ensure an empty BatchProcessor does not panic when any method is called.
Default an empty BatchProcessor as being shut down.

Part of open-telemetry#5063
@MrAlias
Copy link
Contributor

MrAlias commented Apr 24, 2024

Quick look at pooling export payloads didn't show large improvements in performance. Going to remove from this issue as a task. We can address later if more time is found to dedicate into the investigation.

@MrAlias MrAlias closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:logs Part of OpenTelemetry logs pkg:SDK Related to an SDK package
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants