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

[DebugExporter] Add EventName from LogRecord to output #11967

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

Conversation

cijothomas
Copy link
Member

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.)

CONTRIBUTING.md Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.62%. Comparing base (b4ae0ba) to head (ec90084).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11967   +/-   ##
=======================================
  Coverage   91.62%   91.62%           
=======================================
  Files         447      447           
  Lines       23737    23739    +2     
=======================================
+ Hits        21749    21751    +2     
  Misses       1613     1613           
  Partials      375      375           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cijothomas
Copy link
Member Author

@codeboten The changelog CI check looks broken, unrelated to this PR. Could you help fix that, so this PR can have its CI check pass.

Copy link
Member

@andrzej-stencel andrzej-stencel left a comment

Choose a reason for hiding this comment

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

Awesome, thanks Cijo!

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.

Add EventName to DebugExporter output for Logs
4 participants