Prometheus instrumentation library for Go applications
Go to file
Bjoern Rabenstein 05059724f8 Remove the partition of summaries by HTTP status code and method.
Summaries as implemented cannot be aggregated in a meaningful
way. Partitoning them by status code and method only made sense if we
were interested in the individual latency and size of e.g. GET request
that result in status 503. In general, that's not the case. Most of
the time, the user will be interested in the latency and size of _all_
HTTP requests.

(With future changes to client_golang, we will consider making the
HTTP instrumentation configurable, e.g. to handle the case where the
user is only interested in the latency of successful requests.)
2015-01-13 14:57:37 +01:00
_vendor Update the vendoring of bmizerany/perks/quantile. 2014-12-05 13:51:24 +01:00
examples Make random example more interesting. 2015-01-06 18:19:44 +01:00
extraction Remove extraction result type, simplify code. 2014-12-31 13:53:17 +01:00
model Remove the partition of summaries by HTTP status code and method. 2015-01-13 14:57:37 +01:00
prometheus Remove the partition of summaries by HTTP status code and method. 2015-01-13 14:57:37 +01:00
text Add a few trailing commas to tests. 2014-12-05 14:23:03 +01:00
.gitignore Enclose artifact generation process into Makefile. 2013-07-21 17:45:53 +02:00
.travis.yml Update used Go version from 1.2.1 to 1.4. 2014-12-19 14:18:46 +01:00
LICENSE Complete rewrite of the exposition library. 2014-06-17 14:08:22 +02:00
Makefile Update used Go version from 1.2.1 to 1.4. 2014-12-19 14:18:46 +01:00
README.md Complete rewrite of the exposition library. 2014-06-17 14:08:22 +02:00

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:

  1. See the exposition library if you want to export metrics to a Prometheus server or pushgateway

  2. See the consumption library if you want to process metrics exported by a Prometheus client. (The Prometheus server is using that library.)

GoDoc

Getting Started

Testing

$ go test ./...

Continuous Integration

Build Status

Contributing

See the contributing guidelines for the Prometheus server.