Skip to content

Commit 1139e95

Browse files
authored
Merge pull request #236 from ashishmax31/update-regex-for-montoring-name
Update metadata schema
2 parents b0e97c5 + d1d819f commit 1139e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

managedtenants/schemas/metadata.schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ properties:
154154
items:
155155
type: string
156156
format: printable
157-
pattern: ^[A-Za-z0-9-_.]+$
157+
pattern: ^[a-zA-Z_:][a-zA-Z0-9_:]*$
158158
description: "List of series names to federate from the prometheus server."
159159
matchLabels:
160160
type: object
161161
items:
162162
type: string
163163
format: printable
164-
pattern: ^[A-Za-z0-9-_.]+$
164+
pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$
165165
description: "List of labels used to discover the prometheus server(s) to be federated."
166166
minItems: 1
167167
defaultChannel:

0 commit comments

Comments
 (0)