Skip to content

Commit 7173879

Browse files
Adding activity sources for Durable and WebJobs (Kafka and RabbitMQ) (#11137)
* Adding activity sources for Durable Functions and WebJobs (Kafka and RabbitMQ).
1 parent d2238c7 commit 7173879

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

release_notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
- Add JitTrace files for v4.1040 (#11117)
2222
- Update Java Worker Version to [2.19.2](https://github.com/Azure/azure-functions-java-worker/releases/tag/2.19.2)
2323
- Make serialization case insensitive (#11123)
24+
- Adding activity sources for Durable and WebJobs (Kafka and RabbitMQ) (#11137)

src/WebJobs.Script/Diagnostics/OpenTelemetry/OpenTelemetryConfigurationExtensions.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ private static IOpenTelemetryBuilder ConfigureTracing(this IOpenTelemetryBuilder
8787
{
8888
return builder.WithTracing(builder =>
8989
{
90-
builder.AddSource("Azure.*")
90+
builder
91+
.AddSource("Azure.*")
92+
.AddSource("Microsoft.Azure.Webjobs.Extensions.*")
93+
.AddSource("WebJobs.Extensions.DurableTask")
94+
.AddSource("DurableTask.*")
9195
.AddAspNetCoreInstrumentation(o =>
9296
{
9397
o.EnrichWithHttpResponse = (activity, httpResponse) =>

0 commit comments

Comments
 (0)