Skip to content

Conversation

SungJin1212
Copy link
Member

@SungJin1212 SungJin1212 commented Sep 30, 2025

This PR upgrades the Prometheus version to v3.6.0

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: SungJin1212 <[email protected]>
@dosubot dosubot bot added the dependencies Pull requests that update a dependency file label Sep 30, 2025
@SungJin1212 SungJin1212 marked this pull request as draft September 30, 2025 12:56
@SungJin1212 SungJin1212 force-pushed the Update-prometheus-to-v0.306.0 branch from 07eff9f to b0888d1 Compare October 1, 2025 01:58
@pull-request-size pull-request-size bot added size/L and removed size/M labels Oct 1, 2025
@SungJin1212 SungJin1212 force-pushed the Update-prometheus-to-v0.306.0 branch 2 times, most recently from c80af8a to dffa791 Compare October 1, 2025 04:13
Copy link
Contributor

@yeya24 yeya24 left a 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()}, ", ")))
Copy link
Contributor

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

Copy link
Member Author

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?

Copy link
Contributor

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.

Copy link
Member Author

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.

@SungJin1212 SungJin1212 force-pushed the Update-prometheus-to-v0.306.0 branch 3 times, most recently from 25e370a to 7e83120 Compare October 2, 2025 10:40
@SungJin1212 SungJin1212 marked this pull request as ready for review October 2, 2025 11:45
@dosubot dosubot bot added the go Pull requests that update Go code label Oct 2, 2025
@SungJin1212 SungJin1212 force-pushed the Update-prometheus-to-v0.306.0 branch from 7e83120 to acf806f Compare October 3, 2025 01:34
Copy link
Contributor

@dsabsay dsabsay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice tests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants