Skip to content

Commit 5cd1a0f

Browse files
Add missing call to label customization closure for meter (#111)
1 parent 785478c commit 5cd1a0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Prometheus/PrometheusMetricsFactory.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ extension PrometheusMetricsFactory: CoreMetrics.MetricsFactory {
110110
}
111111

112112
public func makeMeter(label: String, dimensions: [(String, String)]) -> CoreMetrics.MeterHandler {
113+
let (label, dimensions) = self.nameAndLabelSanitizer(label, dimensions)
113114
return self.registry.makeGauge(name: label, labels: dimensions)
114115
}
115116

0 commit comments

Comments
 (0)