prometheus/client_golang
### [`v0.9.4`](https://togithub.com/prometheus/client_golang/releases/v0.9.4)
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.3...v0.9.4)
- [CHANGE] API client: Switch to alert values as strings. [#585](https://togithub.com/prometheus/client_golang/issues/585)
- [FEATURE] Add a collector for Go module build information. [#595](https://togithub.com/prometheus/client_golang/issues/595)
- [FEATURE] promhttp: Add an counter for internal errors during HTTP exposition. [#594](https://togithub.com/prometheus/client_golang/issues/594)
- [FEATURE] API client: Support target metadata API. [#590](https://togithub.com/prometheus/client_golang/issues/590)
- [FEATURE] API client: Support storage warnings. [#562](https://togithub.com/prometheus/client_golang/issues/562)
- [ENHANCEMENT] API client: Improve performance handling JSON. [#570](https://togithub.com/prometheus/client_golang/issues/570)
- [BUGFIX] Reduce test flakiness. [#573](https://togithub.com/prometheus/client_golang/issues/573)
### [`v0.9.3`](https://togithub.com/prometheus/client_golang/releases/v0.9.3)
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.2...v0.9.3)
- [CHANGE] Required Go version is now 1.9+. [#561](https://togithub.com/prometheus/client_golang/issues/561)
- [FEATURE] API client: Add POST with get fallback for Query/QueryRange. [#557](https://togithub.com/prometheus/client_golang/issues/557)
- [FEATURE] API client: Add alerts endpoint. [#552](https://togithub.com/prometheus/client_golang/issues/552)
- [FEATURE] API client: Add rules endpoint. [#508](https://togithub.com/prometheus/client_golang/issues/508)
- [FEATURE] push: Add option to pick metrics format. [#540](https://togithub.com/prometheus/client_golang/issues/540)
- [ENHANCEMENT] Limit time the Go collector may take to collect memstats,
returning results from the previous collection in case of a timeout. [#568](https://togithub.com/prometheus/client_golang/issues/568)
- [ENHANCEMENT] Pusher now requires only a thin interface instead of a full
`http.Client`, facilitating mocking and custom HTTP client implementation.
[#559](https://togithub.com/prometheus/client_golang/issues/559)
- [ENHANCEMENT] Memory usage improvement for histograms and summaries without
objectives. [#536](https://togithub.com/prometheus/client_golang/issues/536)
- [ENHANCEMENT] Summaries without objectives are now lock-free. [#521](https://togithub.com/prometheus/client_golang/issues/521)
- [BUGFIX] promhttp: `InstrumentRoundTripperTrace` now takes into account a pre-set context. [#582](https://togithub.com/prometheus/client_golang/issues/582)
- [BUGFIX] `TestCounterAddLarge` now works on all platforms. [#567](https://togithub.com/prometheus/client_golang/issues/567)
- [BUGFIX] Fix `promhttp` examples. [#535](https://togithub.com/prometheus/client_golang/issues/535) [#544](https://togithub.com/prometheus/client_golang/issues/544)
- [BUGFIX] API client: Wait for done before writing to shared response
body. [#532](https://togithub.com/prometheus/client_golang/issues/532)
- [BUGFIX] API client: Deal with discovered labels properly. [#529](https://togithub.com/prometheus/client_golang/issues/529)
### [`v0.9.2`](https://togithub.com/prometheus/client_golang/releases/v0.9.2)
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.1...v0.9.2)
- [FEATURE] Support for Go modules. [#501](https://togithub.com/prometheus/client_golang/issues/501)
- [FEATURE] `Timer.ObserveDuration` returns observed duration. [#509](https://togithub.com/prometheus/client_golang/issues/509)
- [ENHANCEMENT] Improved doc comments and error messages. [#504](https://togithub.com/prometheus/client_golang/issues/504)
- [BUGFIX] Fix race condition during metrics gathering. [#512](https://togithub.com/prometheus/client_golang/issues/512)
- [BUGFIX] Fix testutil metric comparison for Histograms and empty labels. [#494](https://togithub.com/prometheus/client_golang/issues/494) [#498](https://togithub.com/prometheus/client_golang/issues/498)
### [`v0.9.1`](https://togithub.com/prometheus/client_golang/releases/v0.9.1)
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.0...v0.9.1)
- [FEATURE] Add `WriteToTextfile` function to facilitate the creation of
\*.prom files for the textfile collector of the node exporter. [#489](https://togithub.com/prometheus/client_golang/issues/489)
- [ENHANCEMENT] More descriptive error messages for inconsistent label
cardinality. [#487](https://togithub.com/prometheus/client_golang/issues/487)
- [ENHANCEMENT] Exposition: Use a GZIP encoder pool to avoid allocations in
high-frequency scrape scenarios. [#366](https://togithub.com/prometheus/client_golang/issues/366)
- [ENHANCEMENT] Exposition: Streaming serving of metrics data while encoding.
[#482](https://togithub.com/prometheus/client_golang/issues/482)
- [ENHANCEMENT] API client: Add a way to return the body of a 5xx response.
[#479](https://togithub.com/prometheus/client_golang/issues/479)
### [`v0.9.0`](https://togithub.com/prometheus/client_golang/releases/v0.9.0)
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.8.0...v0.9.0)
- [CHANGE] Go1.6 is no longer supported.
- [CHANGE] More refinements of the `Registry` consistency checks: Duplicated
labels are now detected, but inconsistent label dimensions are now allowed.
Collisions with the “magic” metric and label names in Summaries and
Histograms are detected now. [#108](https://togithub.com/prometheus/client_golang/issues/108) [#417](https://togithub.com/prometheus/client_golang/issues/417) [#471](https://togithub.com/prometheus/client_golang/issues/471)
- [CHANGE] Changed `ProcessCollector` constructor. [#219](https://togithub.com/prometheus/client_golang/issues/219)
- [CHANGE] Changed Go counter `go_memstats_heap_released_bytes_total` to gauge
`go_memstats_heap_released_bytes`. [#229](https://togithub.com/prometheus/client_golang/issues/229)
- [CHANGE] Unexported `LabelPairSorter`. [#453](https://togithub.com/prometheus/client_golang/issues/453)
- [CHANGE] Removed the `Untyped` metric from direct instrumentation. [#340](https://togithub.com/prometheus/client_golang/issues/340)
- [CHANGE] Unexported `MetricVec`. [#319](https://togithub.com/prometheus/client_golang/issues/319)
- [CHANGE] Removed deprecated `Set` method from `Counter` [#247](https://togithub.com/prometheus/client_golang/issues/247)
- [CHANGE] Removed deprecated `RegisterOrGet` and `MustRegisterOrGet`. [#247](https://togithub.com/prometheus/client_golang/issues/247)
- [CHANGE] API client: Introduced versioned packages.
- [FEATURE] A `Registerer` can be wrapped with prefixes and labels. [#357](https://togithub.com/prometheus/client_golang/issues/357)
- [FEATURE] “Describe by collect” helper function. [#239](https://togithub.com/prometheus/client_golang/issues/239)
- [FEATURE] Added package `testutil`. [#58](https://togithub.com/prometheus/client_golang/issues/58)
- [FEATURE] Timestamp can be explicitly set for const metrics. [#187](https://togithub.com/prometheus/client_golang/issues/187)
- [FEATURE] “Unchecked” collectors are possible now without cheating. [#47](https://togithub.com/prometheus/client_golang/issues/47)
- [FEATURE] Pushing to the Pushgateway reworked in package `push` to support
many new features. (The old functions are still usable but deprecated.) [#372](https://togithub.com/prometheus/client_golang/issues/372)
[#341](https://togithub.com/prometheus/client_golang/issues/341)
- [FEATURE] Configurable connection limit for scrapes. [#179](https://togithub.com/prometheus/client_golang/issues/179)
- [FEATURE] New HTTP middlewares to instrument `http.Handler` and
`http.RoundTripper`. The old middlewares and the pre-instrumented `/metrics`
handler are (strongly) deprecated. [#316](https://togithub.com/prometheus/client_golang/issues/316) [#57](https://togithub.com/prometheus/client_golang/issues/57) [#101](https://togithub.com/prometheus/client_golang/issues/101) [#224](https://togithub.com/prometheus/client_golang/issues/224)
- [FEATURE] “Currying” for metric vectors. [#320](https://togithub.com/prometheus/client_golang/issues/320)
- [FEATURE] A `Summary` can be created without quantiles. [#118](https://togithub.com/prometheus/client_golang/issues/118)
- [FEATURE] Added a `Timer` helper type. [#231](https://togithub.com/prometheus/client_golang/issues/231)
- [FEATURE] Added a Graphite bridge. [#197](https://togithub.com/prometheus/client_golang/issues/197)
- [FEATURE] Help strings are now optional. [#460](https://togithub.com/prometheus/client_golang/issues/460)
- [FEATURE] Added `process_virtual_memory_max_bytes` metric. [#438](https://togithub.com/prometheus/client_golang/issues/438) [#440](https://togithub.com/prometheus/client_golang/issues/440)
- [FEATURE] Added `go_gc_cpu_fraction` and `go_threads` metrics. [#281](https://togithub.com/prometheus/client_golang/issues/281) [#277](https://togithub.com/prometheus/client_golang/issues/277)
- [FEATURE] Added `promauto` package with auto-registering metrics. [#385](https://togithub.com/prometheus/client_golang/issues/385) [#393](https://togithub.com/prometheus/client_golang/issues/393)
- [FEATURE] Add `SetToCurrentTime` method to `Gauge`. [#259](https://togithub.com/prometheus/client_golang/issues/259)
- [FEATURE] API client: Add AlertManager, Status, and Target methods. [#402](https://togithub.com/prometheus/client_golang/issues/402)
- [FEATURE] API client: Add admin methods. [#398](https://togithub.com/prometheus/client_golang/issues/398)
- [FEATURE] API client: Support series API. [#361](https://togithub.com/prometheus/client_golang/issues/361)
- [FEATURE] API client: Support querying label values.
- [ENHANCEMENT] Smarter creation of goroutines during scraping. Solves memory
usage spikes in certain situations. [#369](https://togithub.com/prometheus/client_golang/issues/369)
- [ENHANCEMENT] Counters are now faster if dealing with integers only. [#367](https://togithub.com/prometheus/client_golang/issues/367)
- [ENHANCEMENT] Improved label validation. [#274](https://togithub.com/prometheus/client_golang/issues/274) [#335](https://togithub.com/prometheus/client_golang/issues/335)
- [BUGFIX] Creating a const metric with an invalid `Desc` returns an error. [#460](https://togithub.com/prometheus/client_golang/issues/460)
- [BUGFIX] Histogram observations don't race any longer with exposition. [#275](https://togithub.com/prometheus/client_golang/issues/275)
- [BUGFIX] Fixed goroutine leaks. [#236](https://togithub.com/prometheus/client_golang/issues/236) [#472](https://togithub.com/prometheus/client_golang/issues/472)
- [BUGFIX] Fixed an error message for exponential histogram buckets. [#467](https://togithub.com/prometheus/client_golang/issues/467)
- [BUGFIX] Fixed data race writing to the metric map. [#401](https://togithub.com/prometheus/client_golang/issues/401)
- [BUGFIX] API client: Decode JSON on a 4xx respons but do not on 204
responses. [#476](https://togithub.com/prometheus/client_golang/issues/476) [#414](https://togithub.com/prometheus/client_golang/issues/414)
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v0.0.0-20180623155954-77e8f2ddcfed
->v0.9.4
Release Notes
prometheus/client_golang
### [`v0.9.4`](https://togithub.com/prometheus/client_golang/releases/v0.9.4) [Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.3...v0.9.4) - [CHANGE] API client: Switch to alert values as strings. [#585](https://togithub.com/prometheus/client_golang/issues/585) - [FEATURE] Add a collector for Go module build information. [#595](https://togithub.com/prometheus/client_golang/issues/595) - [FEATURE] promhttp: Add an counter for internal errors during HTTP exposition. [#594](https://togithub.com/prometheus/client_golang/issues/594) - [FEATURE] API client: Support target metadata API. [#590](https://togithub.com/prometheus/client_golang/issues/590) - [FEATURE] API client: Support storage warnings. [#562](https://togithub.com/prometheus/client_golang/issues/562) - [ENHANCEMENT] API client: Improve performance handling JSON. [#570](https://togithub.com/prometheus/client_golang/issues/570) - [BUGFIX] Reduce test flakiness. [#573](https://togithub.com/prometheus/client_golang/issues/573) ### [`v0.9.3`](https://togithub.com/prometheus/client_golang/releases/v0.9.3) [Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.2...v0.9.3) - [CHANGE] Required Go version is now 1.9+. [#561](https://togithub.com/prometheus/client_golang/issues/561) - [FEATURE] API client: Add POST with get fallback for Query/QueryRange. [#557](https://togithub.com/prometheus/client_golang/issues/557) - [FEATURE] API client: Add alerts endpoint. [#552](https://togithub.com/prometheus/client_golang/issues/552) - [FEATURE] API client: Add rules endpoint. [#508](https://togithub.com/prometheus/client_golang/issues/508) - [FEATURE] push: Add option to pick metrics format. [#540](https://togithub.com/prometheus/client_golang/issues/540) - [ENHANCEMENT] Limit time the Go collector may take to collect memstats, returning results from the previous collection in case of a timeout. [#568](https://togithub.com/prometheus/client_golang/issues/568) - [ENHANCEMENT] Pusher now requires only a thin interface instead of a full `http.Client`, facilitating mocking and custom HTTP client implementation. [#559](https://togithub.com/prometheus/client_golang/issues/559) - [ENHANCEMENT] Memory usage improvement for histograms and summaries without objectives. [#536](https://togithub.com/prometheus/client_golang/issues/536) - [ENHANCEMENT] Summaries without objectives are now lock-free. [#521](https://togithub.com/prometheus/client_golang/issues/521) - [BUGFIX] promhttp: `InstrumentRoundTripperTrace` now takes into account a pre-set context. [#582](https://togithub.com/prometheus/client_golang/issues/582) - [BUGFIX] `TestCounterAddLarge` now works on all platforms. [#567](https://togithub.com/prometheus/client_golang/issues/567) - [BUGFIX] Fix `promhttp` examples. [#535](https://togithub.com/prometheus/client_golang/issues/535) [#544](https://togithub.com/prometheus/client_golang/issues/544) - [BUGFIX] API client: Wait for done before writing to shared response body. [#532](https://togithub.com/prometheus/client_golang/issues/532) - [BUGFIX] API client: Deal with discovered labels properly. [#529](https://togithub.com/prometheus/client_golang/issues/529) ### [`v0.9.2`](https://togithub.com/prometheus/client_golang/releases/v0.9.2) [Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.1...v0.9.2) - [FEATURE] Support for Go modules. [#501](https://togithub.com/prometheus/client_golang/issues/501) - [FEATURE] `Timer.ObserveDuration` returns observed duration. [#509](https://togithub.com/prometheus/client_golang/issues/509) - [ENHANCEMENT] Improved doc comments and error messages. [#504](https://togithub.com/prometheus/client_golang/issues/504) - [BUGFIX] Fix race condition during metrics gathering. [#512](https://togithub.com/prometheus/client_golang/issues/512) - [BUGFIX] Fix testutil metric comparison for Histograms and empty labels. [#494](https://togithub.com/prometheus/client_golang/issues/494) [#498](https://togithub.com/prometheus/client_golang/issues/498) ### [`v0.9.1`](https://togithub.com/prometheus/client_golang/releases/v0.9.1) [Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.9.0...v0.9.1) - [FEATURE] Add `WriteToTextfile` function to facilitate the creation of \*.prom files for the textfile collector of the node exporter. [#489](https://togithub.com/prometheus/client_golang/issues/489) - [ENHANCEMENT] More descriptive error messages for inconsistent label cardinality. [#487](https://togithub.com/prometheus/client_golang/issues/487) - [ENHANCEMENT] Exposition: Use a GZIP encoder pool to avoid allocations in high-frequency scrape scenarios. [#366](https://togithub.com/prometheus/client_golang/issues/366) - [ENHANCEMENT] Exposition: Streaming serving of metrics data while encoding. [#482](https://togithub.com/prometheus/client_golang/issues/482) - [ENHANCEMENT] API client: Add a way to return the body of a 5xx response. [#479](https://togithub.com/prometheus/client_golang/issues/479) ### [`v0.9.0`](https://togithub.com/prometheus/client_golang/releases/v0.9.0) [Compare Source](https://togithub.com/prometheus/client_golang/compare/v0.8.0...v0.9.0) - [CHANGE] Go1.6 is no longer supported. - [CHANGE] More refinements of the `Registry` consistency checks: Duplicated labels are now detected, but inconsistent label dimensions are now allowed. Collisions with the “magic” metric and label names in Summaries and Histograms are detected now. [#108](https://togithub.com/prometheus/client_golang/issues/108) [#417](https://togithub.com/prometheus/client_golang/issues/417) [#471](https://togithub.com/prometheus/client_golang/issues/471) - [CHANGE] Changed `ProcessCollector` constructor. [#219](https://togithub.com/prometheus/client_golang/issues/219) - [CHANGE] Changed Go counter `go_memstats_heap_released_bytes_total` to gauge `go_memstats_heap_released_bytes`. [#229](https://togithub.com/prometheus/client_golang/issues/229) - [CHANGE] Unexported `LabelPairSorter`. [#453](https://togithub.com/prometheus/client_golang/issues/453) - [CHANGE] Removed the `Untyped` metric from direct instrumentation. [#340](https://togithub.com/prometheus/client_golang/issues/340) - [CHANGE] Unexported `MetricVec`. [#319](https://togithub.com/prometheus/client_golang/issues/319) - [CHANGE] Removed deprecated `Set` method from `Counter` [#247](https://togithub.com/prometheus/client_golang/issues/247) - [CHANGE] Removed deprecated `RegisterOrGet` and `MustRegisterOrGet`. [#247](https://togithub.com/prometheus/client_golang/issues/247) - [CHANGE] API client: Introduced versioned packages. - [FEATURE] A `Registerer` can be wrapped with prefixes and labels. [#357](https://togithub.com/prometheus/client_golang/issues/357) - [FEATURE] “Describe by collect” helper function. [#239](https://togithub.com/prometheus/client_golang/issues/239) - [FEATURE] Added package `testutil`. [#58](https://togithub.com/prometheus/client_golang/issues/58) - [FEATURE] Timestamp can be explicitly set for const metrics. [#187](https://togithub.com/prometheus/client_golang/issues/187) - [FEATURE] “Unchecked” collectors are possible now without cheating. [#47](https://togithub.com/prometheus/client_golang/issues/47) - [FEATURE] Pushing to the Pushgateway reworked in package `push` to support many new features. (The old functions are still usable but deprecated.) [#372](https://togithub.com/prometheus/client_golang/issues/372) [#341](https://togithub.com/prometheus/client_golang/issues/341) - [FEATURE] Configurable connection limit for scrapes. [#179](https://togithub.com/prometheus/client_golang/issues/179) - [FEATURE] New HTTP middlewares to instrument `http.Handler` and `http.RoundTripper`. The old middlewares and the pre-instrumented `/metrics` handler are (strongly) deprecated. [#316](https://togithub.com/prometheus/client_golang/issues/316) [#57](https://togithub.com/prometheus/client_golang/issues/57) [#101](https://togithub.com/prometheus/client_golang/issues/101) [#224](https://togithub.com/prometheus/client_golang/issues/224) - [FEATURE] “Currying” for metric vectors. [#320](https://togithub.com/prometheus/client_golang/issues/320) - [FEATURE] A `Summary` can be created without quantiles. [#118](https://togithub.com/prometheus/client_golang/issues/118) - [FEATURE] Added a `Timer` helper type. [#231](https://togithub.com/prometheus/client_golang/issues/231) - [FEATURE] Added a Graphite bridge. [#197](https://togithub.com/prometheus/client_golang/issues/197) - [FEATURE] Help strings are now optional. [#460](https://togithub.com/prometheus/client_golang/issues/460) - [FEATURE] Added `process_virtual_memory_max_bytes` metric. [#438](https://togithub.com/prometheus/client_golang/issues/438) [#440](https://togithub.com/prometheus/client_golang/issues/440) - [FEATURE] Added `go_gc_cpu_fraction` and `go_threads` metrics. [#281](https://togithub.com/prometheus/client_golang/issues/281) [#277](https://togithub.com/prometheus/client_golang/issues/277) - [FEATURE] Added `promauto` package with auto-registering metrics. [#385](https://togithub.com/prometheus/client_golang/issues/385) [#393](https://togithub.com/prometheus/client_golang/issues/393) - [FEATURE] Add `SetToCurrentTime` method to `Gauge`. [#259](https://togithub.com/prometheus/client_golang/issues/259) - [FEATURE] API client: Add AlertManager, Status, and Target methods. [#402](https://togithub.com/prometheus/client_golang/issues/402) - [FEATURE] API client: Add admin methods. [#398](https://togithub.com/prometheus/client_golang/issues/398) - [FEATURE] API client: Support series API. [#361](https://togithub.com/prometheus/client_golang/issues/361) - [FEATURE] API client: Support querying label values. - [ENHANCEMENT] Smarter creation of goroutines during scraping. Solves memory usage spikes in certain situations. [#369](https://togithub.com/prometheus/client_golang/issues/369) - [ENHANCEMENT] Counters are now faster if dealing with integers only. [#367](https://togithub.com/prometheus/client_golang/issues/367) - [ENHANCEMENT] Improved label validation. [#274](https://togithub.com/prometheus/client_golang/issues/274) [#335](https://togithub.com/prometheus/client_golang/issues/335) - [BUGFIX] Creating a const metric with an invalid `Desc` returns an error. [#460](https://togithub.com/prometheus/client_golang/issues/460) - [BUGFIX] Histogram observations don't race any longer with exposition. [#275](https://togithub.com/prometheus/client_golang/issues/275) - [BUGFIX] Fixed goroutine leaks. [#236](https://togithub.com/prometheus/client_golang/issues/236) [#472](https://togithub.com/prometheus/client_golang/issues/472) - [BUGFIX] Fixed an error message for exponential histogram buckets. [#467](https://togithub.com/prometheus/client_golang/issues/467) - [BUGFIX] Fixed data race writing to the metric map. [#401](https://togithub.com/prometheus/client_golang/issues/401) - [BUGFIX] API client: Decode JSON on a 4xx respons but do not on 204 responses. [#476](https://togithub.com/prometheus/client_golang/issues/476) [#414](https://togithub.com/prometheus/client_golang/issues/414)Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.