Skip to content

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