Vendor updates

This commit is contained in:
Nicholas Thompson
2024-03-18 21:09:54 +02:00
parent 3702654ec3
commit 4d774937df
37 changed files with 1295 additions and 205 deletions

View File

@@ -204,6 +204,7 @@ func EscapeMetricFamily(v *dto.MetricFamily, scheme EscapingScheme) *dto.MetricF
out := &dto.MetricFamily{
Help: v.Help,
Type: v.Type,
Unit: v.Unit,
}
// If the name is nil, copy as-is, don't try to escape.