-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/lag histogram #1203
base: main
Are you sure you want to change the base?
Feat/lag histogram #1203
Conversation
return err | ||
} | ||
|
||
// For now, measure a single lag for the entire batch instead of per config item |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It needs to be per per config item, at the tail end is what is going to hurt us -
@@ -89,7 +98,8 @@ func (t *SharedInformerManager) Register(ctx api.ScrapeContext, watchResource v1 | |||
if ctx.Properties().On(false, "scraper.log.items") { | |||
ctx.Logger.V(3).Infof("updated: %s %s %s", u.GetUID(), u.GetKind(), u.GetName()) | |||
} | |||
queue.Enqueue(u) | |||
|
|||
queue.Enqueue(NewObjectQueueItem(u)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need update lag - this is actually the most critical one - I have added an is-healthy LastUpdated func https://github.com/flanksource/is-healthy/pull/144/files#diff-b7f1feaa038882966a9d30e0b96e476dccccc2608dd8a660f80767dbbc635b6fR183
resolves: #1194