Skip to content
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

Logs and Traces Missing in Datadog After Upgrading to Azure Functions Worker v2.0.0 #295

Open
licoto opened this issue Dec 18, 2024 · 3 comments · May be fixed by DataDog/dd-trace-dotnet#6472

Comments

@licoto
Copy link

licoto commented Dec 18, 2024

After upgrading our .NET 8 Function applications to use Microsoft.Azure.Functions.Worker, Microsoft.Azure.Functions.Worker.Sdk, and Microsoft.Azure.Functions.Worker.Core version 2.0.0, we noticed that logs and traces from Microsoft.Extensions.Logging no longer appear in Datadog. These applications are configured to use Agentless Logging with APM.

Environment

Temporary Resolution

To restore functionality, we downgraded to the following versions of the Azure Functions Worker libraries:

  • Microsoft.Azure.Functions.Worker v1.24.0
  • Microsoft.Azure.Functions.Worker.Sdk v1.18.1
  • Microsoft.Azure.Functions.Worker.Core v1.20.0

Additional Reference

We recently reported a similar issue (#292 (comment)), which was related to .NET APIs.

@bouwkast
Copy link

Hi @licoto it looks like dd-trace-dotnet doesn't yet support V2 of Microsoft.Azure.Functions.Worker.Core which would explain why you are missing logs/traces with it.

I've created a task internally for us to add support for that new version.

@licoto
Copy link
Author

licoto commented Dec 18, 2024

@bouwkast Thank you so much for your quick answer. In this case can we leave this issue open to track progress on that support ?

@bouwkast
Copy link

Yep feel free to leave this issue open, I've opened a PR to get this supported here: DataDog/dd-trace-dotnet#6472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants