mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-02 08:52:21 +02:00
cbc5890d9c
Instead of treating the returned *lastValue as an aggregator from newLastValue, just use the type directly to construct the Measure and ComputeAggregation functions returned from the Builder. Accept a destination type for the underlying computeAggregation. This allows memory reuse for collections which adds a considerable optimization. Simplify the integration testing of the last-value aggregate. Update benchmarking. |
||
---|---|---|
.. | ||
instrumentation | ||
internal | ||
metric | ||
resource | ||
trace | ||
go.mod | ||
go.sum | ||
version_test.go | ||
version.go |