-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[BUG] Azure.Monitor.OpenTelemetry.Exporter 1.0.0-beta.13 creates ReadOnlyDictionary messages #37832
Comments
Thank you for your feedback. This has been routed to the support team for assistance. |
Adding Service team to look into this. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra @vishweshbankwar. |
It looks like Functions has some custom ILogger states which do not implement a template or a formatter which is causing the logs to look strange when captured by OpenTelemetry. I opened a PR to try and get that fixed upstream. |
The upstream PR was merged for Azure/azure-webjobs-sdk. It looks like a couple of different packages need to be updated. As far as I can tell, https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/WebJobs.Script.csproj has had Microsoft.Azure.WebJobs updated Azure/azure-functions-host#9541, but still needs Microsoft.Azure.WebJobs.Logging.ApplicationInsights released and updated. Is that correct? |
Hi @cataggar we will plan for a release. |
@RohitRanjanMS, what is the plan for a release? |
@cataggar , this will be part of the next release. |
Which release am I waiting for? Is it this one? https://github.com/Azure/azure-webjobs-sdk/releases/tag/appinsights-v3.0.38 |
This is solved by updating to https://www.nuget.org/packages/Microsoft.Azure.WebJobs/3.0.39 . |
Library name and version
Azure.Monitor.OpenTelemetry.Exporter 1.0.0-beta.13
Describe the bug
When I upgrade from 1.0.0-beta.12 to 1.0.0-beta.13 in this internal PR, a bunch of new traces show up with
System.Collections.ObjectModel.ReadOnlyDictionary\u00602[System.String,System.Object]
as the message.In the VS output window while debugging, the json shows:
In the Azure Portal, the new entries look like this:
There is one for each Activity.
Expected behavior
It behaves like 1.0.0-beta.12 and they do not get output.
Actual behavior
It gets output.
Reproduction Steps
I linked to the PR.
Environment
Our global.json:
We are using Azure Functions based on this Dockerfile with:
The text was updated successfully, but these errors were encountered: