1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/sdk/metric
Anthony Regeda 441a173514
No memory leakage in attributes filter (#3695)
The attributes filter collects seen attributes in order to avoid
filtration on the same attribute set. However, the `attribute.Set` is
not comparable type and new allocations of sets with same attributes will be
considered as new sets.

Metrics with a high cardinality of attributes consume a lot of memory
even if we set a filter to reduce that cardinality.

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-02-13 08:07:06 -08:00
..
aggregation Recommend not recording cumulative explicit histogram min/max (#3403) 2022-10-31 18:59:05 -07:00
internal No memory leakage in attributes filter (#3695) 2023-02-13 08:07:06 -08:00
metricdata Use Extrema type for Histogram min/max (#3550) 2023-01-26 10:49:58 -08:00
benchmark_test.go Add a benchmark for histogram allocations (#3635) 2023-02-02 10:16:25 -08:00
cache_test.go Handle duplicate Aggregators and log instrument conflicts (#3251) 2022-10-11 15:41:47 -04:00
cache.go Handle duplicate Aggregators and log instrument conflicts (#3251) 2022-10-11 15:41:47 -04:00
config_test.go Rename metric SDK instrument kind to match API (#3562) 2023-01-04 12:47:18 -08: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
example_test.go Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
exporter.go Warn metric Exporters of ResourceMetrics reuse (#3556) 2023-01-03 08:15:07 -08:00
go.mod Prepare v1.13.0/v0.36.0 release (#3688) 2023-02-07 14:34:41 -05:00
go.sum dependabot updates Mon Oct 31 15:24:02 UTC 2022 (#3433) 2022-10-31 08:54:41 -07:00
instrument.go Remove the unneeded Observe method from the async instruments (#3586) 2023-01-25 12:58:09 -08:00
manual_reader_test.go Replace view use from sdk/metric/view to sdk/metric (#3461) 2022-11-19 09:05:20 -08:00
manual_reader.go Add Metric Producer as a new interface, which returns scope metrics (#3524) 2022-12-15 07:50:45 -08:00
meter_test.go Use Extrema type for Histogram min/max (#3550) 2023-01-26 10:49:58 -08:00
meter.go Remove the unneeded Observe method from the async instruments (#3586) 2023-01-25 12:58:09 -08:00
periodic_reader_test.go Add Metric Producer as a new interface, which returns scope metrics (#3524) 2022-12-15 07:50:45 -08:00
periodic_reader.go Add Metric Producer as a new interface, which returns scope metrics (#3524) 2022-12-15 07:50:45 -08:00
pipeline_registry_test.go Rename metric SDK instrument kind to match API (#3562) 2023-01-04 12:47:18 -08:00
pipeline_test.go Redesign RegisterCallback API (#3584) 2023-01-19 08:18:26 -06:00
pipeline.go Remove the unused produceKey and callbackKey (#3602) 2023-01-20 09:44:25 -08:00
provider_test.go Remove unnecessary build restrictions for go1.18 (#3197) 2022-09-21 10:00:00 -07:00
provider.go Associate views with MeterProvider instead of Reader (#3387) 2022-10-31 07:55:54 -07:00
reader_test.go Rename metric SDK instrument kind to match API (#3562) 2023-01-04 12:47:18 -08:00
reader.go Rename metric SDK instrument kind to match API (#3562) 2023-01-04 12:47:18 -08:00
view_test.go Rename metric SDK instrument kind to match API (#3562) 2023-01-04 12:47:18 -08:00
view.go Add View, NewView, Instrument, Stream, and InstrumentKind to sdk/metric with unit tests (#3459) 2022-11-16 08:18:02 -08:00