This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
Releases: google/go-metrics-stackdriver
Releases · google/go-metrics-stackdriver
v0.6.0
What's Changed
- Record counters as CUMULATIVE metrics by @n-oden in #24
- go: Update all dependencies, imports by @minor-fixes in #25
New Contributors
- @n-oden made their first contribution in #24
- @minor-fixes made their first contribution in #25
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Added:
sink.Shutdown()
method to match interface ofmetrics.MetricSink
ofv0.3.11
. @nickjenkin
Removed:
- Removes support for go versions < 1.15 due to updated dependencies.
Full Changelog: v0.4.0...v0.5.0
v0.4.0
v0.3.0
v0.2.0
Added:
config.LabelExtractor
: allows the stackdriver sink to extract label data and rewrite metric names.config.DebugLogs
: prints additional debug information tostderr
- Package
github.com/google/go-metrics-stackdriver/vault
. This package holds an Extractor and Bucketer that are aware of common metric format names for HashiCorp Vault, specifically added to address hashicorp/vault#7928
Breaking Changes:
-type BucketFn func(string) []float64
+type BucketFn func([]string) []float64
The BucketFn
type changed to better support bucketing of metrics before renaming (which happens before the config.LabelExtractor
is executed.