Prometheus instrumentation library for Go applications
Go to file
Tomasz Elendt dd4dd69878 Solve "The Proxy Problem" of InstrumentHandler
InstrumentHandler provides proxy object over given http.ResponseWriter
- responseWriterDelegator that only implements the bare minimum
required of an http.ResponseWriter and doesn’t implement any interface
upgrades (http.Flusher, http.Hijacker, etc.). This commit fixes it by
providing fancyResponseWriterDelegator with all the fancy bells and
whistles if standard library http.ResponseWriter is detected.

Heavily inspired by Goji's middleware.

https://avtok.com/2014/11/05/interface-upgrades.html#the-proxy-problem
2015-06-04 23:48:40 +02:00
Godeps Godep: remove reference to matttproud/golang_protobuf_extensions/ext 2015-04-07 12:35:11 +02:00
examples Add a histogram to the random example. 2015-02-23 16:19:01 +01:00
extraction s/ext/pbutil/g 2015-04-07 10:33:04 +02:00
model Make LabelNameRE public. 2015-06-01 15:41:09 +02:00
prometheus Solve "The Proxy Problem" of InstrumentHandler 2015-06-04 23:48:40 +02:00
text Reorder imports, fixing gofmt. 2015-06-01 17:23:16 +02: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 Cut 0.6.0. 2015-06-01 19:09:08 +02: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 go1.4.2 in Makefile. 2015-03-04 12:41:07 +01:00
NOTICE Add newly vendored libraries to NOTICE file. 2015-02-26 14:04:24 +01:00
README.md Fix the consumption library link. 2015-03-15 12:50:26 +01:00
VERSION Cut 0.6.0. 2015-06-01 19:09:08 +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.