You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Consume is called without timeout specified (e.g either with CancellationToken, or with no params), when there are no messages read from a topic, spans will be generated, by default, every 100ms (default value of CancellationDelayMaxMs from ConsumerConfig).
This results in great number of spans generated.
Affected versions of autoinstrumentation
v1.3.0, v1.4.0, v1.5.0
Workaround
Disable kafka client instrumentation e.g by setting OTEL_DOTNET_AUTO_TRACES_KAFKA_INSTRUMENTATION_ENABLED to false
Bug Report
Symptom
When
Consume
is called without timeout specified (e.g either with CancellationToken, or with no params), when there are no messages read from a topic, spans will be generated, by default, every 100ms (default value of CancellationDelayMaxMs from ConsumerConfig).This results in great number of spans generated.
Affected versions of autoinstrumentation
v1.3.0, v1.4.0, v1.5.0
Workaround
Disable kafka client instrumentation e.g by setting
OTEL_DOTNET_AUTO_TRACES_KAFKA_INSTRUMENTATION_ENABLED
tofalse
Fix merged and targeted for next release v1.5.1.
The text was updated successfully, but these errors were encountered: