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

Support open telemetry #245

Closed
ejizba opened this issue Apr 11, 2024 · 1 comment
Closed

Support open telemetry #245

ejizba opened this issue Apr 11, 2024 · 1 comment
Assignees
Milestone

Comments

@ejizba
Copy link
Contributor

ejizba commented Apr 11, 2024

We plan to create a new package @opentelemetry/instrumentation-azure-functions that allows Open Telemetry logs, traces, and metrics to be sent from your Node.js code and properly correlated with all Azure Functions Host data for your invocations. The package will be included in @opentelemetry/auto-instrumentations-node, so that you can get all instrumentations in one place. Edit: due to open-telemetry/opentelemetry-js-contrib#2259, we shifted to an @azure package instead.

Until that package is released, you can replicate this behavior with the following code: https://github.com/ejizba/azure-functions-nodejs-opentelemetry/blob/main/src/index.ts#L24

Related to Azure/azure-functions-host#9273

@ejizba
Copy link
Contributor Author

ejizba commented Jul 31, 2024

@ejizba ejizba closed this as completed Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant