forked from mirror/client_golang
169c8a68e1
The new vendoring was produced by running: godep save -r ./examples/... ./prometheus/... ./text/... ./model/... ./extraction/... Two things to note: - "extraction/processor0_0_{1,2}_test.go" imported a package from "github.com/prometheus/prometheus", all for just one tiny testing function. To not have to deal with a circular vendoring dependency, I simply replaced the usage of the function by some in-line logic. - godep grouped the rewritten imports slightly differently for some reason, but at least the standard library imports are still in a separate section. Not sure if it's worth manually keeping our old import grouping scheme or if we should simply use that godep-generated one. |
||
---|---|---|
Godeps | ||
examples | ||
extraction | ||
model | ||
prometheus | ||
text | ||
.gitignore | ||
.travis.yml | ||
AUTHORS.md | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
NOTICE | ||
README.md | ||
VERSION |
README.md
Overview
This is the Prometheus Go client library. It provides several distinct functions, and there is separate documentation for each respective component. You will want to select the appropriate topic below to continue your journey:
-
See the exposition library if you want to export metrics to a Prometheus server or pushgateway
-
See the consumption library if you want to process metrics exported by a Prometheus client. (The Prometheus server is using that library.)
Getting Started
- The source code is periodically indexed: Go Exposition Client.
- All of the core developers are accessible via the Prometheus Developers Mailinglist.
Testing
$ go test ./...
Continuous Integration
Contributing
See the contributing guidelines.