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 View, NewView, Instrument, Stream, and InstrumentKind to sdk/metric with unit tests #3459

Merged
merged 19 commits into from Nov 16, 2022

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Nov 10, 2022

Step 1 of 4 from #3399

@MrAlias MrAlias added pkg:SDK Related to an SDK package area:metrics Part of OpenTelemetry Metrics labels Nov 10, 2022
@MrAlias MrAlias added this to the Metric v0.34.0 milestone Nov 10, 2022
@codecov
Copy link

codecov bot commented Nov 10, 2022

Codecov Report

Merging #3459 (99e4af1) into main (404f999) will increase coverage by 0.1%.
The diff coverage is 90.2%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #3459     +/-   ##
=======================================
+ Coverage   77.7%   77.9%   +0.1%     
=======================================
  Files        164     165      +1     
  Lines      11538   11620     +82     
=======================================
+ Hits        8975    9052     +77     
- Misses      2368    2372      +4     
- Partials     195     196      +1     
Impacted Files Coverage Δ
sdk/metric/view.go 86.2% <86.2%> (ø)
sdk/metric/instrument.go 92.8% <100.0%> (+9.5%) ⬆️
sdk/trace/batch_span_processor.go 81.9% <0.0%> (+0.8%) ⬆️
sdk/metric/aggregation/aggregation.go 80.6% <0.0%> (+3.2%) ⬆️

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
sdk/metric/instrument.go Outdated Show resolved Hide resolved
sdk/metric/instrument.go Outdated Show resolved Hide resolved
sdk/metric/instrument.go Outdated Show resolved Hide resolved
sdk/metric/view.go Outdated Show resolved Hide resolved
sdk/metric/view.go Show resolved Hide resolved
sdk/metric/instrument.go Show resolved Hide resolved
sdk/metric/instrument.go Outdated Show resolved Hide resolved
@MrAlias MrAlias merged commit 2e780d8 into open-telemetry:main Nov 16, 2022
@MrAlias MrAlias deleted the metric-view branch November 16, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics pkg:SDK Related to an SDK package
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants