-
Notifications
You must be signed in to change notification settings - Fork 40
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 a configurable http metrics interface #90
Conversation
896d01e
to
d0f849d
Compare
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.
@edevil thanks for all your work here! This feature is looking good. I left a couple of comments and questions.
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.
@edevil thanks for your updates here and the conversation. This looks great! I left one last suggestion to add a little more information to the configuration documentation.
README.md
Outdated
@@ -242,6 +242,9 @@ https_cert_file = "" | |||
// The client key file to use for talking to HTTPS checks. | |||
https_key_file = "" | |||
|
|||
// Client address. Example: "127.0.0.1:8080" |
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.
I'd like to add a little more information here so that users will know when they should configure this. Maybe something like: "Client address to expose API endpoints. Required in order to expose /metrics endpoint for Prometheus." Feel free to use any other language you prefer!
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.
I agree, I followed your language suggestion.
Expose http endpoint so that metrics can be collected. Only used for Prometheus metrics for now.
2e210bd
to
d532578
Compare
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.
@edevil, thanks for adding the documentation. This looks great. Thanks for contributing this feature!
Expose http endpoint so that metrics can be collected. Only used
for Prometheus metrics for now.
Adresses #89