k3s/vendor/github.com/prometheus/client_golang
Darren Shepherd fa08d6076c Update vendor 2019-01-11 21:58:27 -07:00
..
prometheus Update vendor 2019-01-11 21:58:27 -07:00
.gitignore Update vendor 2019-01-11 21:58:27 -07:00
.travis.yml Update vendor 2019-01-11 21:58:27 -07:00
CHANGELOG.md Update vendor 2019-01-11 21:58:27 -07:00
CONTRIBUTING.md Update vendor 2019-01-11 21:58:27 -07:00
LICENSE Update vendor 2019-01-11 21:58:27 -07:00
MAINTAINERS.md Update vendor 2019-01-11 21:58:27 -07:00
NOTICE Update vendor 2019-01-11 21:58:27 -07:00
README.md Update vendor 2019-01-11 21:58:27 -07:00
VERSION Update vendor 2019-01-11 21:58:27 -07:00

README.md

Prometheus Go client library

Build Status Go Report Card

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.

Instrumenting applications

code-coverage go-doc

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.

Client for the Prometheus HTTP API

code-coverage go-doc

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. It is still in alpha stage.

Where is 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.

Contributing and community

See the contributing guidelines and the Community section of the homepage.