Skip to content

Commit

Permalink
Add EntityFrameworkCoreInstrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed May 5, 2024
1 parent 7eac821 commit 1907390
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@
0, 100, 200, 300, 400, 500
}
});
}).WithTracing(providerBuilder =>
{
providerBuilder.AddHttpClientInstrumentation();
providerBuilder.AddAspNetCoreInstrumentation();
providerBuilder.AddEntityFrameworkCoreInstrumentation();
});

var app = builder.Build();
Expand Down

0 comments on commit 1907390

Please sign in to comment.