[BUG] The OpenTelemetry INTERNAL span reported BlobClientBase.exists() is marked as an error and attaches an exception stack trace #42452
Labels
Azure.Core
azure-core
Client
This issue points to a problem in the data-plane of the library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Calling
BlobClientBase.exists()
produces two spans (which is expected):an INTERNAL span:
and a nested CLIENT span:
isn't not surprising that the CLIENT span has status ERROR, since it's probably captured by lower-level HTTP instrumentation which doesn't know that a 404 is an expected response code for this operation
what's surprising is that the INTERNAL span has status ERROR and attaches (an oftentimes large) exception stacktrace, even though the call to
BlobClientBase.exists()
doesn't throw an exception but instead just returns false when the blob is not found.repro at https://github.com/trask/azure-blob-storage-test
cc @lmolkova @jeanbisutti @heyams @harsimar
The text was updated successfully, but these errors were encountered: