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

Added distributed tracing instrumentation #201

Merged
merged 7 commits into from
Jul 10, 2022
Merged

Conversation

t-manyadav
Copy link
Contributor

@t-manyadav t-manyadav commented Jul 7, 2022

Added distributed tracing instrumentation. Users can now collect the distributed trace telemetry to diagnose application issues when needed.

Message producers need to pass "traceparent" id in headers of message while publishing the message to have distributed tracing, otherwise created activity will be treated as root activity.
Please note: TraceParentId needs to be in W3C trace context format.

Since distributed tracing is not fully supported yet, users need to add a file (say starup.cs) in root folder of function app and do openTelemetry configuration.

Follow these resources for more details:
Adding distributed tracing instrumentation
openTelemetry Configuration .NET

Sample code for startup.cs file:
image

@JatinSanghvi JatinSanghvi merged commit ee20450 into Azure:dev Jul 10, 2022
@JatinSanghvi
Copy link
Contributor

Thanks @t-manyadav for your contribution 👍

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 this pull request may close these issues.

3 participants