tarantool / metrics

Metric collection library for Tarantool
MIT License
39 stars 23 forks source link

Remove old labels from a `tnt_cpu_thread` metric collector #376

Closed opomuc closed 2 years ago

opomuc commented 2 years ago

We have an issue in one of the projects. tnt_thread_cpu metrics, which has only one counter and pid (or else) for a label generated enormous amounts of timelines.

this may cause memory issues in a monitoring system.

Looks like labels are left even after cpu thread has finished its work. But there is no way to remove the clutter.

image