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

[pdata] Rename pmetric.Buckets to ExponentialHistogramDataPointBuckets #6261

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Oct 8, 2022

Rename pmetric.[New]?Buckets struct and func to align it with the underlying protobuf message. It should have ExponentialHistogramDataPoint prefix as it's defined in the scope of ExponentialHistogramDataPoint protobuf message: https://github.com/open-telemetry/opentelemetry-proto/blob/001e5eabf3ea0193ef9343c1b9a057d23d583d7c/opentelemetry/proto/metrics/v1/metrics.proto#L533

Updates #6257

@dmitryax dmitryax requested review from a team and bogdandrutu October 8, 2022 01:17
@codecov
Copy link

codecov bot commented Oct 8, 2022

Codecov Report

Base: 92.30% // Head: 92.30% // No change to project coverage 👍

Coverage data is based on head (2434a7d) compared to base (4e6286c).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6261   +/-   ##
=======================================
  Coverage   92.30%   92.30%           
=======================================
  Files         219      219           
  Lines       13455    13455           
=======================================
  Hits        12419    12419           
  Misses        806      806           
  Partials      230      230           
Impacted Files Coverage Δ
pdata/pmetric/metrics.go 100.00% <ø> (ø)
pdata/internal/generated_wrapper_metrics.go 100.00% <100.00%> (ø)
pdata/pmetric/generated_metrics.go 96.09% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Rename `pmetric.[New]?Buckets` struct and func to align it with the underlying protobuf message. It should have `ExponentialHistogramDataPoint` prefix as it's defined in the scope of `ExponentialHistogramDataPoint` protobuf message.
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.

2 participants