forked from mirror/client_golang
21b7c6b048
The cgo dependency in the "procfs" package is being removed in: https://github.com/prometheus/procfs/pull/4 So now it should be fine to always import the "procfs" package and have it determine dynamically at runtime whether the proc filesystem is actually there. This fixes a problem for users which were vendoring client_golang on MacOS X, but building the result on Linux (the procfs package was missing in the vendored packages). |
||
---|---|---|
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.