Skip to content

Commit

Permalink
Update js/bundle.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov authored May 12, 2023
1 parent fcae40b commit 34e263e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type Bundle struct {
// TODO: this is to be removed once this is not a warning and it can be moved to the registry
func (b *Bundle) checkMetricNamesForPrometheusCompatibility() {
const (
nameRegexString = "^[a-zA-Z_][a-zA-Z0-9_]{1,128}$"
nameRegexString = "^[a-zA-Z_][a-zA-Z0-9_]{1,63}$"
badNameWarning = "Metric name should only include ASCII letters, numbers and underscores. " +
"This name will stop working in k6 v0.48.0 (around December 2023)."
)
Expand Down

0 comments on commit 34e263e

Please sign in to comment.