1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00
opentelemetry-go/sdk
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
..
instrumentation Revert Adding attributes to the instrumentation scope. 2022-09-09 09:06:58 -05:00
internal Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
metric No memory leakage in attributes filter (#3695) 2023-02-13 08:07:06 -08:00
resource WithContainerID: Document ECS limitation. (#3639) 2023-02-09 11:03:39 -08:00
trace Use semconv creation functions (#3683) 2023-02-07 13:42:47 -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