1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-02 08:52:21 +02:00
opentelemetry-go/sdk/metric
Tyler Yahn cbc5890d9c
Simplify the last-value aggregate (#4343)
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.
2023-07-21 08:30:11 +02:00
..
aggregation Recommend not recording cumulative explicit histogram min/max (#3403) 2022-10-31 18:59:05 -07:00
internal Simplify the last-value aggregate (#4343) 2023-07-21 08:30:11 +02:00
metricdata Exponential Histogram Datatypes (#4165) 2023-06-14 07:36:13 -07:00
benchmark_test.go Replace Stream.AttributeFilter with AllowAttributeKeys (#4288) 2023-07-08 08:01:47 -07:00
cache_test.go Handle duplicate Aggregators and log instrument conflicts (#3251) 2022-10-11 15:41:47 -04:00
cache.go docs(typos): Run codespell to fix typos (#3980) 2023-04-11 17:28:13 -07:00
config_test.go Change the Reader.Collect Signature. (#3732) 2023-02-21 09:04:27 -06:00
config.go Add Metric Producer as a new interface, which returns scope metrics (#3524) 2022-12-15 07:50:45 -08:00
doc.go Replace view use from sdk/metric/view to sdk/metric (#3461) 2022-11-19 09:05:20 -08:00
env.go Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT (#3763) 2023-02-24 09:26:47 -06:00
example_test.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
exporter.go sdk/metric: Document concurrent safety (#4252) 2023-06-23 16:25:54 +02:00
go.mod Detect duplicate instruments for case-insensitive names (#4338) 2023-07-19 10:17:38 -07:00
go.sum dependabot updates Sun Jul 9 14:40:56 UTC 2023 (#4301) 2023-07-09 20:25:46 +02:00
instrument_test.go Replace internal aggregate Aggregator with Measure/ComputeAggregation and a Builder (#4304) 2023-07-17 16:15:50 +02:00
instrument.go Use inst ID for agg cache key (#4337) 2023-07-19 09:59:07 -07:00
instrumentkind_string.go Use inst ID for agg cache key (#4337) 2023-07-19 09:59:07 -07:00
manual_reader_test.go Document and test honoring context in metric readers Collect (#4267) 2023-06-29 13:20:47 +02:00
manual_reader.go Add info/debug logging to the metric SDK (#4315) 2023-07-17 07:57:01 -07:00
meter_test.go Metric SDK: Sum duplicate async observations regardless of filtering (#4289) 2023-07-19 10:52:11 -05:00
meter.go Use inst ID for agg cache key (#4337) 2023-07-19 09:59:07 -07:00
periodic_reader_test.go Document and test honoring context in metric readers Collect (#4267) 2023-06-29 13:20:47 +02:00
periodic_reader.go Add info/debug logging to the metric SDK (#4315) 2023-07-17 07:57:01 -07:00
pipeline_registry_test.go Use inst ID for agg cache key (#4337) 2023-07-19 09:59:07 -07:00
pipeline_test.go Detect duplicate instruments for case-insensitive names (#4338) 2023-07-19 10:17:38 -07:00
pipeline.go Detect duplicate instruments for case-insensitive names (#4338) 2023-07-19 10:17:38 -07:00
provider_test.go Restrict Meters to only register and collect instruments it created (#4333) 2023-07-19 07:31:11 -07:00
provider.go Add info/debug logging to the metric SDK (#4315) 2023-07-17 07:57:01 -07:00
reader_test.go sdk/metric: Fix import comments (#4086) 2023-05-19 09:25:11 -07:00
reader.go Document and test honoring context in metric readers Collect (#4267) 2023-06-29 13:20:47 +02:00
version_test.go added version.go and test file for issue 2143 (#3677) 2023-05-09 08:29:19 -07:00
version.go Release v1.16.0/v0.39.0 -- Stable Metric API (#4100) 2023-05-22 12:06:21 -07:00
view_test.go Log an error for an empty view criteria (#4307) 2023-07-12 15:10:40 -07:00
view.go Log an error for an empty view criteria (#4307) 2023-07-12 15:10:40 -07:00