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
metrics: Add metric for k8s resource sync duration
This change adds a new metric to track the sync duration of individual k8s resources. Right now, even using logs, it is almost impossible to determine exactly how long a specific resource takes to sync.
Having this metric is useful because resource syncing can account for a significant portion of the agent startup time. To give an example, at scale, CiliumNode sync is often the reason for hive startup hitting the timeout.
This metric would allow to monitor regressions and provide a clear distribution of sync timings.
This commit introduces the new `kubernetes_resource_sync_duration` gauge metric, labeled by scope, where scope represents the resource name.
Signed-off-by: Illia Kolisnyk <illiakolisnyk@google.com>
0 commit comments