Short living container monitoring: Improve disk space cleanup for sites
If a site monitors a huge amount of constantly changing containers, the amount of produced data may become a problem. Container will be added as hosts and cleaned up a short amount of time afterwards. But the existing clean-up process for freeing up disk space (e.g. metric data) is not meant for such use cases.
It would be better to be able to tweak the clean-up and remove short living container hosts faster.
Comments: 3
-
08 Aug, '22
Lars SörensenIn case of a simple restart, the already existing "host" with its RRDs should be reused instead of creating a new host with new RRDs each time. This way the history would not be lost and not so many obsolete files would be produced.
Maby this is already possible. If yes then this should be better described in the documentation how this can be done. -
12 Sep, '23
Christian Friedrich MergedHello,
I have noticed that after deleting a service, the associated rrd file is never deleted. This leads to some systems having several gigabytes of rrd directories just because they have old rrd files in them. It would be desirable if these obsolete files were deleted automatically. -
18 Sep, '23
Martin Hirschvogel Admin"Delete rrd Files, where no corresponding Service exists" (suggested by Christian Friedrich on 2023-09-12), including upvotes (1) and comments (0), was merged into this suggestion.