-
Notifications
You must be signed in to change notification settings - Fork 546
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 logging and separate muxer for metrics #809
add logging and separate muxer for metrics #809
Conversation
Ok, definitely leaving in these changes!
Will try making the secret non-optional tomorrow, and maybe that will cause the pod to fail until the secret is ready. Best as I can tell, the secrets end up in the pod over a minute after OLM is started. Extracted from inside the OLM pod:
Confirms metrics aren't being served, (but health is as expected):
|
/retest |
Can we use fsnotify to know when the files have actually been mounted and start the serving then? |
/lgtm |
Also, don't use default muxer for health either. Although it's pretty low risk, technically vendored packages can modify the global default mux.
/test unit |
/retest |
/lgtm |
/retest |
1 similar comment
/retest |
/hold |
Ensure that when certificate arguments are passed, metrics are retrieved over HTTPS. Otherwise, retrieve metrics over HTTP.
/retest |
/retest |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ecordell, jpeeler 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 |
/retest |
4 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
This is to hopefully help debug a strange issue I've seen where https metrics are not being served upon initial pod launch. (However, if the pod is restarted, metrics are served as expected.) These changes might be good enough to keep even if they don't fix the problem, especially the mux change.
(BZ #1689836)