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

OpenTelemetry integration with Node.js Function Apps, seems like spans are missing #761

Open
KiithNabaal opened this issue Oct 24, 2024 · 0 comments

Comments

@KiithNabaal
Copy link

I am integrating OpenTelemetry with some Azure Function Apps using Node.js for the first time with Zipkin. Zipkin is running as a container app I am hosting on Azure. I instrumented my app (specifically, an http app that responds to POSTs) and tested the app (they pushed traces to Zipkin running on my Azure container app) locally in a Docker container, and it worked great. Multiple levels of spans and everything was in expected order. Here is a screenshot of the expected output:

Image

When I deployed this app to Azure, the tracing and spans were completely incorrect. Many spans are seemingly not being recorded, and there appear to be others sort of hanging loose off of the parent span. Screenshot of what tracing looks like after deploying to Azure:

Image

I tried going over the guide as well, but no luck. I also tried adding the AlwaysOnSampler indicated in this issue, but that also didn't seem to help.

I read some other Github issues here:
Azure/azure-functions-dotnet-worker#2543
Azure/azure-functions-dotnet-worker#2733
Azure/azure-functions-host#9273

and was wondering if the Node worker was in a similar state?

The pricing plan is Y1 using Linux in East US 2, and I am using the latest versions of OpenTelemetry and the various SDKs.

@KiithNabaal KiithNabaal changed the title OpenTelemetry integration with Node.js Function Apps OpenTelemetry integration with Node.js Function Apps, seems like spans are missing Oct 24, 2024
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

No branches or pull requests

1 participant