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

sdk/trace: Log when an attribute was discarded or truncated due to limits #5343

Open
pellared opened this issue May 9, 2024 · 0 comments
Open
Labels
area:trace Part of OpenTelemetry tracing enhancement New feature or request pkg:SDK Related to an SDK package
Milestone

Comments

@pellared
Copy link
Member

pellared commented May 9, 2024

From https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-limits:

There SHOULD be a message printed in the SDK's log to indicate to the user that an attribute was discarded due to such a limit. To prevent excessive logging, the message MUST be printed at most once per span (i.e., not per discarded attribute, event, or link).

@pellared pellared added enhancement New feature or request pkg:SDK Related to an SDK package area:trace Part of OpenTelemetry tracing labels May 9, 2024
@MrAlias MrAlias modified the milestones: v1.27.0, v1.28.0 May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:trace Part of OpenTelemetry tracing enhancement New feature or request pkg:SDK Related to an SDK package
Projects
None yet
Development

No branches or pull requests

2 participants