-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Add monitoring and healthz based on tunnel health. #11250
Conversation
Closes #11251 |
GCE e2e build/test passed for commit f80b02f74a80aa7fd1c5df9d7d090c8941bdb98e. |
I don't know the SSH logic well, but this changes seems plausible. |
LGTM, but @cjcullen who maybe has better context |
} | ||
|
||
m.lastSyncMetric = prometheus.NewGaugeFunc(prometheus.GaugeOpts{ |
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.
Should this be inside the above if block? I don't know prometheus well enough to know the implications, but this metric only makes sense in the ssh-tunnel case.
Updated to reflect offline conversation with @cjcullen move the metric inside the if ssh-tunnels block. ptal. |
GCE e2e build/test passed for commit b791948e2f179716a2cfd97a1f5345271a9c3037. |
GCE e2e build/test passed for commit 25d3834. |
Sorry, thought I had already. LGTM |
I'm not merging any code until Jenkins is green for a turn. |
Add monitoring and healthz based on tunnel health.
…-#11250-upstream-release-1.0 Automated cherry pick of #11250
@cjcullen @thockin
This is in response to some observed issues in GKE.