opentelemetry-go icon indicating copy to clipboard operation
opentelemetry-go copied to clipboard

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

Open pellared opened this issue 1 year ago • 0 comments

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 avatar May 09 '24 18:05 pellared