Skip to content

Releases: hashicorp/go-metrics

v0.5.3

27 Nov 22:05
9d55fb2
Compare
Choose a tag to compare

What's Changed

  • prometheus: prevent panic when incrmenting counter in #146

Full Changelog: v0.5.2...v0.5.3

v0.5.2

14 Nov 14:55
9bd0195
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.2

v0.5.1

09 Jun 09:22
25a7551
Compare
Choose a tag to compare

v0.5.0

08 Jun 16:00
aee7470
Compare
Choose a tag to compare

Breaking Changes

  • Due to renaming the Go module from armon/go-metrics to hashicorp/go-metrics all libraries within a program that use the global metrics handler will need updating. If not they may be sending metrics to either the old modules global handler or the new modules handler.

What's Changed

Full Changelog: v0.4.1...v0.5.0

v0.4.1

08 Sep 12:05
b6d5c86
Compare
Choose a tag to compare

Includes a performance improvement in the Prometheus sink that was identified as wasting CPU time in Nomad where metrics are recorded in a hot code path.

See #138

v0.4.0

25 May 15:04
129ee86
Compare
Choose a tag to compare

Updates supported Go versions to 1.16, 1.17 and 1.18.

Adds a Shutdown function that attempts to insure buffered metrics are flushed to the underlying sink for short-lived processes. See #132 and #134.

Note that Shutdown was initially added and released as a 0.3.11 but contained a breaking change for library users that have their own MetricsSink implementation since it added an interface method.

This release retracts the 0.3.11 release and re-introduces the Shutdown change in a backwards compatible manner. See #134.

v0.3.11

26 Apr 20:56
5d4d6f5
Compare
Choose a tag to compare

Adds a Shutdown function that attempts to insure buffered metrics are flushed to the underlying sink for short-lived processes. Not all sinks support this. See #132.

v0.3.10

19 Oct 19:50
d1e5690
Compare
Choose a tag to compare

Allow multiple Prometheus sink instances in a single process to not conflict. See #129.

v0.3.9

14 Jun 19:24
f792dbc
Compare
Choose a tag to compare

Adds a new Stream method that provides a streaming HTTP 1.x handler that will return a news set of metrics every interval.

v0.3.8

30 Apr 13:23
a054c40
Compare
Choose a tag to compare

Fixes a deadlock in InMemSink. #124