-
Couldn't load subscription status.
- Fork 5.1k
Description
Seeing some unexpected or unusual behavior between open telemetry and application insights.
Firstly resource attributes are not being applied correctly to spans/activity traces as expected, from my understanding resource attributes should act similar to "custom properties" a key value pair that is being attached to each span, however in application insights these resource attributes are being emitted as individual "trace" logs.
Second issue or strange behavior we are seeing is that telemetry messaging is being split into individual traces potentially by new line, for example in this screenshot below appears to be an exception message that has been split into multiple different trace messages, note that exceptions are also being logged correctly
We are using the AzureMonitor() exporter for our implementation here
services.AddOpenTelemetry().UseAzureMonitor
SDK Version - azurefunctions:4.1042.0.0_dotnet8.0.21:otel1.9.0:ext1.3.0-beta.1