Loading CHANGELOG.md +2 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Sanitize metric names and properties fields. ## [2.12.0] - 2020-05-25 ### Added Loading server/metrics.go +5 −4 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ func NewMetrics(logger, startupLogger *zap.Logger, config Config) *Metrics { Tags: tags, CachedReporter: reporter, Separator: prometheus.DefaultSeparator, SanitizeOptions: &prometheus.DefaultSanitizerOpts, }, time.Duration(config.GetMetrics().ReportingFreqSec)*time.Second) // Check if exposing Prometheus metrics directly is enabled. Loading Loading
CHANGELOG.md +2 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Changed - Sanitize metric names and properties fields. ## [2.12.0] - 2020-05-25 ### Added Loading
server/metrics.go +5 −4 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ func NewMetrics(logger, startupLogger *zap.Logger, config Config) *Metrics { Tags: tags, CachedReporter: reporter, Separator: prometheus.DefaultSeparator, SanitizeOptions: &prometheus.DefaultSanitizerOpts, }, time.Duration(config.GetMetrics().ReportingFreqSec)*time.Second) // Check if exposing Prometheus metrics directly is enabled. Loading