tangs b030ce89ca openbilibili | il y a 5 ans | |
---|---|---|
.. | ||
api | il y a 5 ans | |
examples | il y a 5 ans | |
prometheus | il y a 5 ans | |
AUTHORS.md | il y a 5 ans | |
CHANGELOG.md | il y a 5 ans | |
CONTRIBUTING.md | il y a 5 ans | |
LICENSE | il y a 5 ans | |
NOTICE | il y a 5 ans | |
README.md | il y a 5 ans | |
VERSION | il y a 5 ans |
This is the Go client library for Prometheus. It has two separate parts, one for instrumenting application code, and one for creating clients that talk to the Prometheus HTTP API.
The
prometheus
directory
contains the instrumentation library. See the
best practices section of the
Prometheus documentation to learn more about instrumenting applications.
The
examples
directory
contains simple examples of instrumented code.
The
api/prometheus
directory
contains the client for the
Prometheus HTTP API. It allows you
to write Go applications that query time series data from a Prometheus server.
model
, extraction
, and text
?The model
packages has been moved to
prometheus/common/model
.
The extraction
and text
packages are now contained in
prometheus/common/expfmt
.
See the contributing guidelines and the Community section of the homepage.