Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

v0.2.0

Compare
Choose a tag to compare
@tam7t tam7t released this 23 Dec 20:58
202ca3d

Added:

  • config.LabelExtractor: allows the stackdriver sink to extract label data and rewrite metric names.
  • config.DebugLogs: prints additional debug information to stderr
  • 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.