Skip to content

ref(logs): shorten Microsoft.Extensions.Logging attribute names#4450

Merged
Flash0ver merged 4 commits intomainfrom
logs/shorten-mel-attributes
Aug 16, 2025
Merged

ref(logs): shorten Microsoft.Extensions.Logging attribute names#4450
Flash0ver merged 4 commits intomainfrom
logs/shorten-mel-attributes

Conversation

@Flash0ver
Copy link
Member

@Flash0ver Flash0ver commented Aug 15, 2025

Sentry Structured Logs
After an internal discussion, we would like to shorten the key names of the Microsoft.Extensions.Logging related attributes.

By removing the "microsoft.extensions.logging" prefix.

See also:
open-telemetry/semantic-conventions#372

Changes

from to
"microsoft.extensions.logging.category_name" "category.name"
"microsoft.extensions.logging.event.id" "event.id"
"microsoft.extensions.logging.event.name" "event.name"

@Flash0ver Flash0ver self-assigned this Aug 15, 2025
@Flash0ver Flash0ver added the Logs label Aug 15, 2025
@Flash0ver Flash0ver marked this pull request as ready for review August 15, 2025 09:16
Copy link
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Flash0ver Flash0ver merged commit 679eebd into main Aug 16, 2025
32 of 33 checks passed
@Flash0ver Flash0ver deleted the logs/shorten-mel-attributes branch August 16, 2025 10:41
This was referenced Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants