-
-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
FeatureNew feature or requestNew feature or requestQuestionFurther information is requestedFurther information is requested
Description
Please mark the type framework used:
- ASP.NET MVC
- ASP.NET Web API (OWIN)
- ASP.NET Core
- WPF
- WinForms
- Xamarin
- Other:
Please mark the type of the runtime used:
- .NET Framework
- Mono
- .NET Core
- Version:
Please mark the NuGet packages used:
- Sentry
- Sentry.Serilog
- Sentry.NLog
- Sentry.Log4Net
- Sentry.Extensions.Logging
- Sentry.AspNetCore
- Version: 2.1.8
When using the AspNetCore ILogger like this:
using (logger.BeginScope("HTTP {HttpMethod} {Uri}", "123", "1234")){
logger.LogCritical("Test");
}This creates a scope called "HTTP 123 1234" and additional tags "HttpMethod: 123" and "Uri: 1234".
Sentry successfully gets the tags but the scope results in an error in the sentry frontend like this:

The tags json will contain:
{"value":"HTTP {HttpMethod} {Uri}","key":null}I think Sentry should be able to use "HTTP 123 1234" as value and probably have "scope" as a tag key (Are arrays supported as tag keys?)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FeatureNew feature or requestNew feature or requestQuestionFurther information is requestedFurther information is requested