Sourced from github.com/armon/go-metrics's releases.
v0.4.0
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 armon/go-metrics#132 and armon/go-metrics#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
MetricsSinkimplementation since it added an interface method.This release retracts the 0.3.11 release and re-introduces the
Shutdownchange in a backwards compatible manner. See armon/go-metrics#134.
129ee86 Merge pull request #135 from armon/shutdown-refactor0b5fe61 Refactor Shutdown into a separate interface to revert breaking change.5a8fe6a Merge pull request #134 from armon/local/v0.3.11bd50b62 Bump supported go versions to most recent 38e77306 stage retract for v0.3.11