Prometheus instrumentation library for Go applications
Go to file
beorn7 a9bdd32c71 Reduce allocations during fingerprinting.
Also, add a test to expose
https://github.com/prometheus/client_golang/issues/74 .

benchmark           old ns/op     new ns/op     delta
BenchmarkMetric     7034          6272          -10.83%

benchmark           old allocs     new allocs     delta
BenchmarkMetric     52             32             -38.46%

benchmark           old bytes     new bytes     delta
BenchmarkMetric     1976          1800          -8.91%
2015-02-12 15:28:31 +01:00
_vendor Update vendoring of perks to newest (fixed) version. 2015-01-20 18:27:10 +01:00
examples Change "Prometheus Team" to "The Prometheus Authors". 2015-02-02 15:14:36 +01:00
extraction Change "Prometheus Team" to "The Prometheus Authors". 2015-02-02 15:14:36 +01:00
model Reduce allocations during fingerprinting. 2015-02-12 15:28:31 +01:00
prometheus Fix document 2015-02-11 17:35:04 -05:00
text Change "Prometheus Team" to "The Prometheus Authors". 2015-02-02 15:14:36 +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
CHANGELOG.md Added CHANGELOG.md and VERSION. 2015-02-02 15:25:18 +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 Use HTTPS for Go download. 2015-02-05 18:14:34 +01:00
NOTICE License cleanup 2015-01-22 16:13:15 +01:00
README.md License cleanup 2015-01-22 16:13:15 +01:00
VERSION Added CHANGELOG.md and VERSION. 2015-02-02 15:25:18 +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.