-
Notifications
You must be signed in to change notification settings - Fork 44
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
Use LogRecord.event_name to set the log ID when the gcp log name attribute is not present.
#417
Conversation
|
What is the spec for |
|
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 |
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
|
/gcbrun |
No description provided.