Skip to content

[feature request] ForceFlush checking succeeded status #2721

Open
@erwinkramer

Description

@erwinkramer

Component

OpenTelemetry.Extensions

Is your feature request related to a problem?

There are some parts in the code that do ForceFlush: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/5aa6d86836bbc13659d61abcf3040a0811537f7e/src/OpenTelemetry.Extensions/Trace/AutoFlushActivityProcessor.cs#L79C18-L79C32

ForceFlush can return false, shouldn't that return value be checked? For example, if you implement AutoFlushActivityProcessor, it might make sense you want more reliability and thus want to check if everything is actually sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp:extensionsThings related to OpenTelemetry.ExtensionsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions