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

feat: Prometheus Integration #64

Merged
merged 6 commits into from
Apr 22, 2019
Merged

feat: Prometheus Integration #64

merged 6 commits into from
Apr 22, 2019

Conversation

estahn
Copy link
Collaborator

@estahn estahn commented Apr 8, 2019

This implements #63

  • Register port with Prometheus
  • Add Documentation to README.md

@corvus-ch Should it be possible to enable/disable this feature?

@estahn estahn marked this pull request as ready for review April 8, 2019 04:34
@estahn estahn mentioned this pull request Apr 8, 2019
@estahn
Copy link
Collaborator Author

estahn commented Apr 9, 2019

@corvus-ch Have you had a chance to look at this pull request?

@corvus-ch
Copy link
Owner

I only had a quick look but definitely need to have a closer one. Some topics I will need to think about:

  • Do we need test coverage for metrics collection and how should that look like?
  • What should happen if the http server errors? Should the consumer continue to run, or stop?
  • Should collecting and exposing metrics be optional? Maybe add a flag to enable/disable it?

@estahn Maybe you have some input/ideas for me.

Copy link
Owner

@corvus-ch corvus-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@estahn Thanks for your contribution. I finally took the time to have a closer look (I moved to a new place which always is time consuming). There are a few things I would like be changed if you please can take care of them, I happily will merge this feature.

main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Show resolved Hide resolved
* Remove unused flag web.message-duration-buckets
* Add flag to enable metrics server (metrics, m)
* Rename function configuring and starting metrics server

Signed-off-by: Enrico Stahn <enrico.stahn@gmail.com>
main.go Show resolved Hide resolved
@corvus-ch corvus-ch merged commit f79a9da into corvus-ch:master Apr 22, 2019
@estahn estahn deleted the prometheus-integration branch April 23, 2019 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants