The PrometheusMetricsFactory has a nameAndLabelSanitizer closure property to customize the name and labels used by callers of the Swift Metrics API. This wasn't being called in makeMeter.
Modifications
Call nameAndLabelSanitzer in makeMeter, like in the other factory methods.
Result
All factory methods use the customization closure, nameAndLabelSanitizer.
Motivation
The
PrometheusMetricsFactory
has anameAndLabelSanitizer
closure property to customize the name and labels used by callers of the Swift Metrics API. This wasn't being called inmakeMeter
.Modifications
Call
nameAndLabelSanitzer
inmakeMeter
, like in the other factory methods.Result
All factory methods use the customization closure,
nameAndLabelSanitizer
.