A Golang library for exporting performance and runtime metrics to external metrics systems (i.e. statsite, statsd)
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/hashicorp/go-metrics/compare/v0.5.2...v0.5.3
Published by mkeeler 11 months ago
Full Changelog: https://github.com/hashicorp/go-metrics/compare/v0.5.1...v0.5.2
Published by biazmoreira over 1 year ago
Full Changelog: https://github.com/hashicorp/go-metrics/compare/v0.5.0...v0.5.1
Published by mkeeler over 1 year ago
Full Changelog: https://github.com/hashicorp/go-metrics/compare/v0.4.1...v0.5.0
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.
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.
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.
Published by banks about 3 years ago
Allow multiple Prometheus sink instances in a single process to not conflict. See #129.
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.
Published by banks over 3 years ago
Fixes a deadlock in InMemSink. #124
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.
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.