1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-07 23:02:15 +02:00
opentelemetry-go/sdk
Aaron Clawson e463505da7
Reuse memory in metric pipelines (#3760)
* Have pipelines reuse memory

* truncate Metric slice

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Use rm pool on periodic shutdown.

* zero out RM on ctx error

* Update sdk/metric/pipeline.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Peter Liu <lpfvip2008@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Fix lint

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Peter Liu <lpfvip2008@gmail.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2023-03-09 09:43:16 -08:00
..
instrumentation Revert Adding attributes to the instrumentation scope. 2022-09-09 09:06:58 -05:00
internal Handle empty env vars as it they were not set (#3764) 2023-02-28 12:43:48 -08:00
metric Reuse memory in metric pipelines (#3760) 2023-03-09 09:43:16 -08:00
resource Wrap errors returned from Detect and New in sdk/resource (#3844) 2023-03-08 15:15:27 -08:00
trace Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
go.mod dependabot updates Mon Mar 6 15:33:46 UTC 2023 (#3840) 2023-03-06 07:40:41 -08:00
go.sum dependabot updates Mon Mar 6 15:33:46 UTC 2023 (#3840) 2023-03-06 07:40:41 -08:00