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 43e05fe commit 8aabe9f
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 8aabe9f

Please sign in to comment.