diff --git a/pkg/helpers/helpers_labels_test.go b/pkg/helpers/helpers_labels_test.go index 2eb634348a5..58dcaa0ffd8 100644 --- a/pkg/helpers/helpers_labels_test.go +++ b/pkg/helpers/helpers_labels_test.go @@ -53,6 +53,19 @@ func TestLabelsToTags(t *testing.T) { "fun..zone": to.StringPtr("null"), }, }, + { + Name: "question mark labels", + In: map[string]string{ + "age?date": "null", + "type?kind": "null", + "fun??zone": "null", + }, + Out: map[string]*string{ + "age.date": to.StringPtr("null"), + "type.kind": to.StringPtr("null"), + "fun..zone": to.StringPtr("null"), + }, + }, { Name: "percent labels", In: map[string]string{