Skip to content

Commit

Permalink
chore: Remove redundant parentheses (#1509)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Simplified the configuration of telemetry filtering for improved
readability, maintaining the exclusion of health check requests.

- **Refactor**
- Cleaned up the syntax in the telemetry configuration method without
altering its functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
oskogstad authored Nov 22, 2024
1 parent 9c75f11 commit 0d4ce7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static WebApplicationBuilder ConfigureTelemetry(this WebApplicationBuilde
tracing.AddAspNetCoreInstrumentation(options =>
{
options.Filter = (httpContext) =>
options.Filter = httpContext =>
!httpContext.Request.Path.StartsWithSegments("/health");
});
Expand Down

0 comments on commit 0d4ce7f

Please sign in to comment.