Prometheus instrumentation library for Go applications
Go to file
Julius Volz f3e101bd1c Fix race condition in writePB().
The RLock already needs to be acquired when reading r.dimHashesByName.

This fixes https://github.com/prometheus/client_golang/issues/61
2015-01-31 22:10:27 +01:00
_vendor Update vendoring of perks to newest (fixed) version. 2015-01-20 18:27:10 +01:00
examples Make random example more interesting. 2015-01-06 18:19:44 +01:00
extraction Add BenchmarkProcessor002ParseOnly, to get at least a hint of the JSON speed. 2015-01-27 17:16:23 +01:00
model Better sample value string formatting. 2015-01-25 23:52:46 +01:00
prometheus Fix race condition in writePB(). 2015-01-31 22:10:27 +01:00
text Fix typos. 2015-01-27 18:07:09 +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
AUTHORS.md License cleanup 2015-01-22 16:13:15 +01:00
CONTRIBUTING.md License cleanup 2015-01-22 16:13:15 +01:00
LICENSE License cleanup 2015-01-22 16:13:15 +01:00
Makefile Make examples buildable from make 2015-01-26 00:19:15 +00:00
NOTICE License cleanup 2015-01-22 16:13:15 +01:00
README.md License cleanup 2015-01-22 16:13:15 +01: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.