You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #41216, calculating metadata for events in the metricbeat kubernetes module was made eager. As a result, it is only calculated when an event needs it, cached, and the cache is invalidated when an update arrives from the API Server. However, the update code not only computes metadata, but also calculates the limit metrics. This now only happens when we attach Pod metadata to an event for the first time after an update, so the presence of these metrics depends on the ordering of metric fetches.
In the short term, we should decouple these metrics updates from metadata enrichment and have the watcher apply them directly. In the longer term, maybe they can be made eager as well?
In #41216, calculating metadata for events in the metricbeat kubernetes module was made eager. As a result, it is only calculated when an event needs it, cached, and the cache is invalidated when an update arrives from the API Server. However, the update code not only computes metadata, but also calculates the limit metrics. This now only happens when we attach Pod metadata to an event for the first time after an update, so the presence of these metrics depends on the ordering of metric fetches.
In the short term, we should decouple these metrics updates from metadata enrichment and have the watcher apply them directly. In the longer term, maybe they can be made eager as well?
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: