Skip to content

Commit

Permalink
Add DefaultSanitizerOpts
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Guardian committed Nov 8, 2024
1 parent d5bc485 commit 07a00c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/metrics/scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func NewScope(cfg valid.Metrics, logger logging.SimpleLogging, statsNamespace st
}

scopeOpts := tally.ScopeOptions{
Prefix: statsNamespace,
Prefix: statsNamespace,
SanitizeOptions: &tallyprom.DefaultSanitizerOpts,
}

if r, ok := reporter.(tally.StatsReporter); ok {
Expand Down

0 comments on commit 07a00c9

Please sign in to comment.