Skip to content

Commit e866c00

Browse files
committed
update sentry.origin for MEL to microsoft_extensions (plural)
1 parent 75fa353 commit e866c00

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Sentry.Extensions.Logging/SentryStructuredLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Except
8989
};
9090

9191
log.SetDefaultAttributes(_options, _sdk);
92-
log.SetOrigin("auto.log.microsoft_extension");
92+
log.SetOrigin("auto.log.microsoft_extensions");
9393

9494
if (_categoryName is not null)
9595
{

test/Sentry.AspNetCore.Tests/SentryAspNetCoreStructuredLoggerProviderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void CreateLogger_DependencyInjection_CanLog()
9393
version.Should().Be(SentryMiddleware.NameAndVersion.Version);
9494

9595
capturedLog.TryGetAttribute("sentry.origin", out object? origin).Should().BeTrue();
96-
origin.Should().Be("auto.log.microsoft_extension");
96+
origin.Should().Be("auto.log.microsoft_extensions");
9797
}
9898

9999
[Fact]

test/Sentry.Extensions.Logging.Tests/SentryStructuredLoggerProviderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void CreateLogger_DependencyInjection_CanLog()
9393
version.Should().Be(SentryLoggerProvider.NameAndVersion.Version);
9494

9595
capturedLog.TryGetAttribute("sentry.origin", out object? origin).Should().BeTrue();
96-
origin.Should().Be("auto.log.microsoft_extension");
96+
origin.Should().Be("auto.log.microsoft_extensions");
9797
}
9898

9999
[Fact]

test/Sentry.Extensions.Logging.Tests/SentryStructuredLoggerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void Log_LogLevel_CaptureLog(LogLevel logLevel, SentryLogLevel expectedLe
109109
log.ParentSpanId.Should().Be(parentSpanId);
110110
log.AssertAttribute("sentry.environment", "my-environment");
111111
log.AssertAttribute("sentry.release", "my-release");
112-
log.AssertAttribute("sentry.origin", "auto.log.microsoft_extension");
112+
log.AssertAttribute("sentry.origin", "auto.log.microsoft_extensions");
113113
log.AssertAttribute("sentry.sdk.name", "SDK Name");
114114
log.AssertAttribute("sentry.sdk.version", "SDK Version");
115115
log.AssertAttribute("category.name", _fixture.CategoryName);

0 commit comments

Comments
 (0)