go-metrics

A Golang library for exporting performance and runtime metrics to external metrics systems (i.e. statsite, statsd)

MIT License

Stars
1.4K
Committers
50

Bot releases are hidden (Show)

go-metrics - v0.5.3 Latest Release

Published by lgfa29 11 months ago

What's Changed

Full Changelog: https://github.com/hashicorp/go-metrics/compare/v0.5.2...v0.5.3

go-metrics - v0.5.2

Published by mkeeler 11 months ago

go-metrics - v0.5.1

Published by biazmoreira over 1 year ago

go-metrics - v0.5.0

Published by mkeeler over 1 year ago

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: https://github.com/hashicorp/go-metrics/compare/v0.4.1...v0.5.0

go-metrics - v0.4.1

Published by banks about 2 years ago

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 https://github.com/armon/go-metrics/pull/138

go-metrics - v0.4.0

Published by banks over 2 years ago

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 https://github.com/armon/go-metrics/pull/132 and https://github.com/armon/go-metrics/pull/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 https://github.com/armon/go-metrics/pull/134.

go-metrics - v0.3.11

Published by banks over 2 years ago

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.

go-metrics - v0.3.10

Published by banks about 3 years ago

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

go-metrics - v0.3.9

Published by banks over 3 years ago

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

go-metrics - v0.3.8

Published by banks over 3 years ago

Fixes a deadlock in InMemSink. #124

go-metrics - v0.3.7

Published by banks over 3 years ago

Fix behaviour with pre-defined Prometheus metrics where we would reset Gauges and invalidate Summaries after Expiry despite them being pre-declared as always useful values. See https://github.com/armon/go-metrics/pull/123 for more details.

go-metrics - v0.3.6

Published by banks almost 4 years ago

Fixes an issue in Prometheus sink where dynamic labels cause changes to the help message/description which Prometheus doesn't like.

Package Rankings
Top 2.58% on Proxy.golang.org
Badges
Extracted from project README
GoDoc