Refactor Kubernetes performance metrics cache #10965
Labels
containers
Related to containers use case
Metricbeat
Metricbeat
module
refactoring
Team:Integrations
Label for the Integrations team
Metricbeat module for kubernetes includes a cache for performance metrics that is used mostly to calculate percentages on memory and cpu usage. This cache maintains the container and node limits, values that are not collected by other performance metrics.
This cache expires values after they haven't been updated or read (#10946) during a timeout currently set to 120 seconds.
The main problem with this is that metricsets with greater periods would be missing metrics, and they wouldn't be recovered unless pods or nodes are updated.
Some possible solutions for this:
I wouldn't consider this so urgent as I don't think that periods of more than 120 seconds are so usual, if they are, a quick workaround would be to increase the default timeout.
The text was updated successfully, but these errors were encountered: