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

Remove Min/Max unused interfaces from the moved code #2454

Merged
merged 3 commits into from
Dec 23, 2021

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Dec 14, 2021

Updates #2273

Signed-off-by: Bogdan Drutu [email protected]

Comment on lines +31 to +41
// Deprecated: Will be removed soon.
type Min interface {
Aggregation
Min() (number.Number, error)
}

// Deprecated: use module "go.opentelemetry.io/otel/sdk/metric/export/aggregation"
type Max = aggregation.Max
// Deprecated: Will be removed soon.
type Max interface {
Aggregation
Max() (number.Number, error)
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept them in the deprecated package, but removed them from the new package since they are not used. They will be removed with the whole deprecated package.

@bogdandrutu bogdandrutu added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Dec 14, 2021
@codecov
Copy link

codecov bot commented Dec 14, 2021

Codecov Report

Merging #2454 (2a9dd8d) into main (4aedc1c) will increase coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #2454   +/-   ##
=====================================
  Coverage   76.3%   76.3%           
=====================================
  Files        173     173           
  Lines      12022   12022           
=====================================
+ Hits        9175    9177    +2     
+ Misses      2602    2600    -2     
  Partials     245     245           
Impacted Files Coverage Δ
sdk/metric/export/aggregation/aggregation.go 100.0% <ø> (ø)
exporters/jaeger/jaeger.go 92.6% <0.0%> (-0.9%) ⬇️
sdk/trace/batch_span_processor.go 85.4% <0.0%> (+2.0%) ⬆️

@bogdandrutu bogdandrutu added the area:metrics Part of OpenTelemetry Metrics label Dec 14, 2021
@bogdandrutu
Copy link
Member Author

@jmacd please review since this is a leftover after the PR you merged to remove MinMaxSumCount aggregation.

@MrAlias MrAlias merged commit 9778aa3 into open-telemetry:main Dec 23, 2021
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 Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants