Skip to content

Commit

Permalink
Update docs/platforms/dotnet/common/metrics/index.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: vivianyentran <20403606+vivianyentran@users.noreply.github.com>
  • Loading branch information
jamescrosswell and vivianyentran committed May 23, 2024
1 parent 2bc7c3b commit 1e23ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/platforms/dotnet/common/metrics/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ You can configure the .NET SDK to automatically capture and send OpenTelemetry m

For example, you can configure Sentry to capture all the built-in metrics that it knows about:

```csharp
```csharp {13}
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOpenTelemetry()
.WithMetrics(metrics => metrics
Expand Down

0 comments on commit 1e23ce1

Please sign in to comment.