Skip to content

Make UseSentryTracing discoverable #1196

Closed

Description

The extension method was added to the wrong namespace and doesn't show up unless one adds using Sentry.AspNetCore; on the Startup.cs

public static class SentryTracingMiddlewareExtensions
{
/// <summary>
/// Adds Sentry's tracing middleware to the pipeline.
/// Make sure to place this middleware after <code>UseRouting(...)</code>.
/// </summary>
public static IApplicationBuilder UseSentryTracing(this IApplicationBuilder builder)
{
builder.UseMiddleware<SentryTracingMiddleware>();
return builder;
}
}

Please move it to Microsoft.AspNetCore.Builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions