You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-25 22:41:46 +02:00
Flatten sdk/metric/aggregation into sdk/metric (#4435)
* Deprecate the aggregation pkg * Decouple the internal/aggregate from aggregation pkg * Add Aggregation to the metric pkg * Do not use sdk/metric/aggregation in stdoutmetric exporter * Update all generated templates * Update prom exporter * Fix view example * Add changes to changelog * Update CHANGELOG.md Co-authored-by: Robert Pająk <pellared@hotmail.com> * Rename Sum to AggregationSum * Fix comments * Centralize validation of aggregation in pipeline * Remove validation of agg in manual_reader selector opt * Fix merge --------- Co-authored-by: Robert Pająk <pellared@hotmail.com>
This commit is contained in:
@@ -316,7 +316,7 @@ func TestDefaultAggregationSelector(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, ik := range iKinds {
|
||||
assert.NoError(t, DefaultAggregationSelector(ik).Err(), ik)
|
||||
assert.NoError(t, DefaultAggregationSelector(ik).err(), ik)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user