Skip to content
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

Add EventName to DebugExporter output for Logs #11966

Closed
cijothomas opened this issue Dec 20, 2024 · 0 comments · Fixed by #11967
Closed

Add EventName to DebugExporter output for Logs #11966

cijothomas opened this issue Dec 20, 2024 · 0 comments · Fixed by #11967

Comments

@cijothomas
Copy link
Member

Is your feature request related to a problem? Please describe.
EventName is added as a top-level field to LogRecord recently in the spec and in the photo. But EventName is not printed by the debug exporter.
Describe the solution you'd like
DebugExporter should print EventName, just like it does for all other top-level fields.

github-merge-queue bot pushed a commit that referenced this issue Jan 9, 2025
#### Description
1. Adds event name from LogRecord to debug exporter.
2. Also modified the example config file to include logs too. (It only
had traces/metrics). Not really required for this change, but hope that
is okay to club into same PR!

#### Link to tracking issue
Fixes #11966 

#### Testing
Manually tested with Otel client that exported a LogRecord with event
name and without event name.

(1st time contributor here, still learning the process.)

---------

Co-authored-by: Trask Stalnaker <[email protected]>
Co-authored-by: Alex Boten <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Jan 9, 2025
#### Description
1. Adds event name from LogRecord to debug exporter.
2. Also modified the example config file to include logs too. (It only
had traces/metrics). Not really required for this change, but hope that
is okay to club into same PR!

#### Link to tracking issue
Fixes #11966 

#### Testing
Manually tested with Otel client that exported a LogRecord with event
name and without event name.

(1st time contributor here, still learning the process.)

---------

Co-authored-by: Trask Stalnaker <[email protected]>
Co-authored-by: Alex Boten <[email protected]>
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 a pull request may close this issue.

1 participant