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

feat: export SDK crate version as constant #2504

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

the-wondersmith
Copy link

Changes

PR adds a simple constant for the SDK crate's version (pulled directly from the crate's manifest [ref]).

This is specifically useful in conjunction with things like populating the value of telemetry.sdk.version when building a Resource (for example).

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • N/A Unit tests added/updated (if applicable)
  • N/A Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • N/A Changes in public API reviewed (if applicable)

@the-wondersmith the-wondersmith requested a review from a team as a code owner January 10, 2025 19:50
Copy link

linux-foundation-easycla bot commented Jan 10, 2025

CLA Signed

  • ✅login: the-wondersmith / (a1757fc)

The committers listed above are authorized under a signed CLA.

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.9%. Comparing base (6cc327d) to head (a1757fc).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #2504   +/-   ##
=====================================
  Coverage   77.9%   77.9%           
=====================================
  Files        123     123           
  Lines      22887   22887           
=====================================
  Hits       17838   17838           
  Misses      5049    5049           

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

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.

1 participant