Skip to content

Commit b6912af

Browse files
committed
Fix metric name regex
1 parent 1acd86d commit b6912af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simvue/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66

77
FOLDER_REGEX: str = r"^/.*"
8-
NAME_REGEX: str = r"^[a-zA-Z0-9\-\_\s\/\.:]+$"
9-
METRIC_KEY_REGEX: str = r"^[a-zA-Z0-9\-\_\s\/\.:=><]+$"
8+
NAME_REGEX: str = r"^[a-zA-Z0-9\-\_\s\/\.:=><]+$"
9+
METRIC_KEY_REGEX: str = r"^[a-zA-Z0-9\-\_\s\/\.:=><+\(\)]+$"
1010
DATETIME_FORMAT: str = "%Y-%m-%dT%H:%M:%S.%f"
1111

1212
MetadataKeyString = typing.Annotated[

0 commit comments

Comments
 (0)