File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -316,9 +316,9 @@ metricset = *metricfamily
316316
317317metricfamily = *metric-descriptor *metric
318318
319- metric-descriptor = HASH SP type SP metricname SP metric-type LF
320- metric-descriptor =/ HASH SP help SP metricname SP escaped-string LF
321- metric-descriptor =/ HASH SP unit SP metricname SP *metricname-char LF
319+ metric-descriptor = HASH SP type SP ( metricname / metricname-utf8) SP metric-type LF
320+ metric-descriptor =/ HASH SP help SP ( metricname / metricname-utf8) SP escaped-string LF
321+ metric-descriptor =/ HASH SP unit SP ( metricname / metricname-utf8) SP *metricname-char LF
322322
323323metric = *sample
324324
@@ -436,6 +436,8 @@ A double backslash SHOULD be used to represent a backslash character.
436436A single backslash SHOULD NOT be used for undefined escape sequences.
437437As an example, ` \\\\a ` is equivalent and preferable to ` \\a ` .
438438
439+ Escaping MUST also be applied to quoted UTF-8 strings.
440+
439441##### Numbers
440442
441443Integer numbers MUST NOT have a decimal point. Examples are ` 23 ` , ` 0042 ` , and ` 1341298465647914 ` .
You can’t perform that action at this time.
0 commit comments