-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
OpenTelemetryExtension for Azure Functions - working POC #29672
Comments
@macieyng Thank you |
Well. Right now we're using it in production with some minor changes for almost two months. It works as expected. Some issues was discovered, because we had implemented a distributed tracing (we also have internal tracing for finding more specific issues). We have our internal library and I've wrapped this and OpenCensusExtension in If you need something that just works, you can easily take this example as is (probably minor changes will be required) and slap it into your codebase. If you have any specific question feel free to ask. |
In case someone looks for an e2e sample, I have implemented this in a similar manner in this repository with The difference is that I have included the |
@macieyng - Hello, I am a PM on the Azure Functions team and would like to chat with you about using OTel in your Azure Functions. If you are willing to chat, please email me at mikemort at microsoft dot com. |
☝️ FYI We got in touch. |
We have plans to improve our OT based monitoring solution in Azure functions this upcoming semester. Feel free to reach out if you would like more context about this. |
Is your feature request related to a problem? Please describe.
We started to integrated OpenTelemetry with Azure Functions. It was tough for me to find all necessary resources and very clear description how to do that. A lot of resources that I've found seem to be outdated or contradict each other or I'm just bad at googling. But yeah, key thing: no clear description how to implement and integrate OpenTelemetry with Azure Functions.
I liked the way OpenCensus could be easily setup as an Azure Functions Extension with just
Describe the solution you'd like
Simple and elegant way to easily integrate OpenTelemetry and Azure Functions with just a couple lines of code.
Describe alternatives you've considered
None.
Additional context
I took OpenCensusExtension approach and have implemented OpenTelemetryExtension that currently is focused on Traces and Logging - implementation below. It also allows instrumentation extensions to be correctly initialized. I think that solution is clear and elegant.
It seems that this could be a drop-in solution for those who have already implemented tracing and logging with OpenCensus.
I don't know how Azure Functions Extensions are currently being perceived, so I would like to know if you think it's okay to use them or this approach has changed or anything in that matter.
I very much would love to hear your feedback on the solution I'm showing you.
Mentioning @lzchen because our ways have crossed a few times with OpenCensus 😅
The text was updated successfully, but these errors were encountered: