-
Notifications
You must be signed in to change notification settings - Fork 832
Upgrade prometheus to v3.6.0 #7040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Upgrade prometheus to v3.6.0 #7040
Conversation
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
07eff9f
to
b0888d1
Compare
c80af8a
to
dffa791
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like to take over #6916?
f.IntVar(&l.AlertmanagerMaxSilencesSizeBytes, "alertmanager.max-silences-size-bytes", 0, "Maximum size of individual silences that a single user can have. 0 = no limit.") | ||
|
||
_ = l.NameValidationScheme.Set(model.LegacyValidation.String()) | ||
f.Var(&l.NameValidationScheme, "validation.name-validation-scheme", fmt.Sprintf("Name validation scheme for metric names and label names, Support values are: %s.", strings.Join([]string{model.LegacyValidation.String(), model.UTF8Validation.String()}, ", "))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why this is a runtime limit. Is it intended to be configurable per tenant? Where do we actually set this value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
um.. I'd like to hear what other people think about whether it should be configurable per tenant or not. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is ok to be a per tenant runtime config. But I don't see the code where we actually set this value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/cortexproject/cortex/blob/v1.19.0/pkg/distributor/distributor.go#L721
The distributor is already using per-user config. I added some e2e tests.
25e370a
to
7e83120
Compare
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
7e83120
to
acf806f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Nice tests!
This PR upgrades the Prometheus version to v3.6.0
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]