Skip to content

Use LogRecord.event_name to set the log ID when the gcp log name attribute is not present. #417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

DylanRussell
Copy link
Contributor

No description provided.

@DylanRussell DylanRussell requested a review from a team as a code owner July 15, 2025 18:16
@quentinmit
Copy link
Member

What is the spec for event_name? I wouldn't expect it to be the right grouping for a log name. (A better fit is probably the scope name, for instance.)

@DylanRussell
Copy link
Contributor Author

event name is what makes a log an event : https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-eventname -- why not use it for log name ? We want gen ai events to be easily selected based on the log name drop down in the logs explorer, that's what is motivating this change.. We agreed on this internally, probably better to discuss it there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants