Skip to content
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

UPSTREAM <90175>: pkg/proxy: add last-queued-timestamp metric #126

Merged

Conversation

squeed
Copy link

@squeed squeed commented May 6, 2020

This adds a metric, kubeproxy_sync_proxy_rules_last_queued_timestamp, that captures the last time a change was queued to be applied to the proxy. This matches the healthz logic, which fails if a pending change is stale.

This allows us to write alerts that mirror healthz.

Signed-off-by: Casey Callendrello cdc@redhat.com

/cc @dcbw who merged the upstream change.

@squeed
Copy link
Author

squeed commented May 6, 2020

This doens't have CI, so we'll need to get someone to push the green button when everything looks sane.

@danwinship
Copy link

needs rebase now to get rid of the commits from the old 1.18.2 branch.
also, needs a bugzilla bug

This adds a metric, kubeproxy_sync_proxy_rules_last_queued_timestamp,
that captures the last time a change was queued to be applied to the
proxy. This matches the healthz logic, which fails if a pending change
is stale.

This allows us to write alerts that mirror healthz.

Signed-off-by: Casey Callendrello <cdc@redhat.com>
@squeed
Copy link
Author

squeed commented May 6, 2020

rebased.

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: squeed

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 6, 2020
@danwinship danwinship merged commit 662762e into openshift:sdn-4.5-kubernetes-1.18.2 May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants