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 code.lineno, code.function and code.filepath to all logs #3675

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Feb 5, 2024

Description

Add standard logging information as standard semantic conventions when emitting logs.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit tests test_log_record_user_attributes

Does This PR Require a Contrib Repo Change?

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@bogdandrutu bogdandrutu requested a review from a team as a code owner February 5, 2024 19:03
@bogdandrutu bogdandrutu changed the title Add , and to all logs Add code.lineno, code.function and code.filepath to all logs Feb 5, 2024
@bogdandrutu bogdandrutu force-pushed the codeargs branch 2 times, most recently from 904181a to 15d864d Compare February 5, 2024 19:40
opentelemetry-sdk/tests/logs/test_handler.py Outdated Show resolved Hide resolved
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@ocelotl ocelotl merged commit d5fdcd6 into open-telemetry:main Feb 7, 2024
270 checks passed
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.

None yet

3 participants