We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c9530 commit f903e88Copy full SHA for f903e88
Sources/Prometheus/Utils.swift
@@ -34,7 +34,7 @@ func encodeLabels<Labels: MetricLabels>(_ labels: Labels, _ excludingKeys: [Stri
34
}
35
var output = [String]()
36
dictionary.sorted { $0.key > $1.key }.forEach { (key, value) in
37
- output.append(#"\#(key)="\#(value)""#)
+ output.append("\(key)=\"\(value)\"")
38
39
return output.isEmpty ? "" : "{\(output.joined(separator: ", "))}"
40
} catch {
0 commit comments