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 summary data type to metricdata #4622

Merged
merged 11 commits into from Oct 25, 2023

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Oct 13, 2023

Fixes #4587

This only adds the summary type to metricdata in the SDK, and does not add a corresponding AggregationSummary view aggregation. This means that the only way to create these types is to use a bridge, and they cannot otherwise be created with the OpenTelemetry SDK.

@dashpole dashpole added enhancement New feature or request area:metrics Part of OpenTelemetry Metrics labels Oct 13, 2023
@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Merging #4622 (a50a812) into main (7e6da12) will increase coverage by 0.0%.
The diff coverage is 95.6%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #4622   +/-   ##
=====================================
  Coverage   81.4%   81.4%           
=====================================
  Files        225     225           
  Lines      17728   17819   +91     
=====================================
+ Hits       14431   14518   +87     
- Misses      2998    3001    +3     
- Partials     299     300    +1     
Files Coverage Δ
sdk/metric/metricdata/metricdatatest/assertion.go 90.0% <100.0%> (+0.7%) ⬆️
sdk/metric/metricdata/data.go 44.4% <0.0%> (-5.6%) ⬇️
...dk/metric/metricdata/metricdatatest/comparisons.go 91.3% <96.2%> (+0.6%) ⬆️

@dashpole dashpole marked this pull request as ready for review October 13, 2023 16:19
@dashpole dashpole marked this pull request as draft October 13, 2023 16:48
@dashpole dashpole marked this pull request as ready for review October 18, 2023 14:03
sdk/metric/metricdata/data.go Outdated Show resolved Hide resolved
sdk/metric/metricdata/data.go Show resolved Hide resolved
sdk/metric/metricdata/data.go Outdated Show resolved Hide resolved
sdk/metric/metricdata/data.go Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@MadVikingGod MadVikingGod merged commit cdd9353 into open-telemetry:main Oct 25, 2023
25 checks passed
@MrAlias MrAlias added this to the v1.20.0 milestone Oct 25, 2023
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 enhancement New feature or request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Consider adding summary support to metricdata
3 participants