Skip to content

Commit 1907390

Browse files
committed
Add EntityFrameworkCoreInstrumentation
1 parent 7eac821 commit 1907390

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Server/Program.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@
141141
0, 100, 200, 300, 400, 500
142142
}
143143
});
144+
}).WithTracing(providerBuilder =>
145+
{
146+
providerBuilder.AddHttpClientInstrumentation();
147+
providerBuilder.AddAspNetCoreInstrumentation();
148+
providerBuilder.AddEntityFrameworkCoreInstrumentation();
144149
});
145150

146151
var app = builder.Build();

0 commit comments

Comments
 (0)