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

sdk/instrumentation: Add Attributes to Scope #5903

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

pellared
Copy link
Member

@pellared pellared commented Oct 21, 2024

Towards #3368

Pre-work: #5806

API change:

  • Add Attributes attribute.Set field to instrumentation.Scope, logtest.ScopeRecords

I decided to make as small PRs as possible for sake of easier reviews.
Next PRs are going to make the scope attributes as identifying for Tracer, Meter, Logger in SDK (3 PRs).
Then following PRs are going to emit the scope attributes via exporters.
Doing everything in one PR is too much. See: #5806

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.6%. Comparing base (078b2dd) to head (c539fe5).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #5903   +/-   ##
=====================================
  Coverage   84.6%   84.6%           
=====================================
  Files        272     272           
  Lines      22839   22839           
=====================================
  Hits       19325   19325           
  Misses      3170    3170           
  Partials     344     344           

@pellared pellared changed the title [WIP] Make scope attributes as identifying for Tracer, Meter, Logger sdk/instrumentation: Add Attributes to Scope Oct 28, 2024
@pellared pellared merged commit 30c0f3f into open-telemetry:main Oct 29, 2024
32 checks passed
@pellared pellared deleted the scope-attrs branch October 29, 2024 13:45
@pellared pellared added this to the v1.32.0 milestone Oct 29, 2024
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.

3 participants