Introduce new unauthenticated endpoint /metric (#5723) (#5829)

/metric exposes Promethus compatible data for scraping metrics

Fixes: #5723
This commit is contained in:
Ashish Kumar Sinha
2018-04-19 04:31:42 +05:30
committed by Harshavardhana
parent 9f31da5d57
commit 9ebb72aa99
92 changed files with 17886 additions and 1 deletions

18
vendor/github.com/prometheus/procfs/CONTRIBUTING.md generated vendored Normal file
View File

@@ -0,0 +1,18 @@
# Contributing
Prometheus uses GitHub to manage reviews of pull requests.
* If you have a trivial fix or improvement, go ahead and create a pull request,
addressing (with `@...`) the maintainer of this repository (see
[MAINTAINERS.md](MAINTAINERS.md)) in the description of the pull request.
* If you plan to do something more involved, first discuss your ideas
on our [mailing list](https://groups.google.com/forum/?fromgroups#!forum/prometheus-developers).
This will avoid unnecessary work and surely give you and us a good deal
of inspiration.
* Relevant coding style guidelines are the [Go Code Review
Comments](https://code.google.com/p/go-wiki/wiki/CodeReviewComments)
and the _Formatting and style_ section of Peter Bourgon's [Go: Best
Practices for Production
Environments](http://peter.bourgon.org/go-in-production/#formatting-and-style).