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 Distributed Tracing Feature Support #3065

Open
RyanThomas73 opened this issue Mar 5, 2024 · 1 comment
Open

OpenTelemetry Distributed Tracing Feature Support #3065

RyanThomas73 opened this issue Mar 5, 2024 · 1 comment
Labels

Comments

@RyanThomas73
Copy link

Currently the webjobs sdk only appears to support distributed tracing when explicitly using the webjob application insights logger.

Using the open telemetry SDKs, including the AzureMonitor exporter which writes to application insights, result in no diagnostic activity being started for the function execution and the corresponding context links to the upstream services are unavailable in application insights.

Feature Request

Support distributed tracing activities using the open telemetry compatible ActivitySource and Activity in usage scenarios beyond just the webjob specific application insights logger implementation.

Related information

@smfields
Copy link

smfields commented Jul 7, 2024

This is called out in the original post, but maybe not explicitly clear.

Webjobs tracing, such as request and dependency tracing, is dependent on using the application insights logger.

Outside of OpenTelemetry, this also impacts scenarios where an alternate logger provider is used, such as Serilog. This feels quite unintuitive since it seems like switching the LoggerProvider should only affect logs, but it seems like all telemetry is tied into the application insights logger provider.

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

No branches or pull requests

3 participants