Skip to content

Commit 5266417

Browse files
Copilotzeitlinger
andcommitted
Update JavaDoc to reflect current validation approach
Co-authored-by: zeitlinger <[email protected]>
1 parent 2f8aa42 commit 5266417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus-metrics-model/src/main/java/io/prometheus/metrics/model/snapshots/PrometheusNaming.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class PrometheusNaming {
6464
* Test if a metric name is valid. Rules:
6565
*
6666
* <ul>
67-
* <li>The name must match {@link #METRIC_NAME_PATTERN}.
67+
* <li>The name must be valid UTF-8.
6868
* <li>The name MUST NOT end with one of the {@link #RESERVED_METRIC_NAME_SUFFIXES}.
6969
* </ul>
7070
*

0 commit comments

Comments
 (0)