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

Added Prometheus client and exposed number of requests handled #55

Closed
wants to merge 4 commits into from

Conversation

BasPH
Copy link
Contributor

@BasPH BasPH commented Oct 6, 2017

I've added Prometheus instrumentation (#16). Currently it exposes the default go_* metrics and one additional requests_handled metric.

By default it exposes metrics on localhost:9095/metrics, however this is parameterised.

@BasPH
Copy link
Contributor Author

BasPH commented Oct 6, 2017

Hmm not sure why the build is failing. I've added the prometheus dependencies to vendor.json, however govendor sync in the build does not fetch them. Any idea what happened?

@travisjeffery
Copy link
Owner

travisjeffery commented Oct 10, 2017

Awesome! Merged it: 5aa4d9b. Keep the contributions coming. If you haven't joined the Slack (or Gitter) yet please do!

@sslavic
Copy link

sslavic commented Feb 11, 2018

@travisjeffery @BasPH instead of using prometheus client directly would it make sense to use abstraction like OpenCensus (see https://github.com/census-instrumentation/opencensus-go and http://opencensus.io/) ?

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.

3 participants