Metrics OOM issues #3509
jdmarshall
started this conversation in
General
Replies: 1 comment 1 reply
-
Would you mind providing a minimum reproducible of your problem? I'm not sure I get a clear view of the issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was experimenting with converting some telemetry code to OpenTelemetry with the newly merged metrics code and was running into some CPU problems. One of the first things I did was to construct a benchmark to try to narrow down problems, and fairly quickly ran into OOM issues with that (particularly in CI).
With log rotation implementations, it's a common feature to allow log rotation on an interval but also with a threshold, so that at high rates the logs are rotated sooner. As near as I can tell, there is no such facility in sdk-metrics, which might explain a lot of the behavior of my errant process. I'm not entirely clear how I would go about fixing that. The code that handles the interval seems to be entirely divorced from the code doing the collection.
Beta Was this translation helpful? Give feedback.
All reactions