Skip to content
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

Promote some experimental features to stable for release 2.9 #5128

Merged
merged 10 commits into from
Jun 5, 2023

Conversation

flxbk
Copy link
Contributor

@flxbk flxbk commented Jun 1, 2023

What this PR does

This promotes the following features/options from experimental to stable:

  • -query-frontend.query-sharding-max-regexp-size-bytes
  • -query-scheduler.max-used-instances
  • -(alertmanager|blocks|ruler)-storage.storage-prefix
  • -compactor.first-level-compaction-wait-period
  • -usage-stats.*
  • -query-frontend.query-sharding-target-series-per-shard

It also adds a non-default value of 2500 for the -query-frontend.query-sharding-target-series-per-shard flag in Jsonnet and Helm. We've obtained good results from this setting internally at Grafana Labs, but enabling it by default would imply enabling the results cache by default, which we don't want to do.

Individual commits are self-contained to make review easier.

Which issue(s) this PR fixes or relates to

Related to #5112

Checklist

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

@flxbk flxbk requested review from a team as code owners June 1, 2023 10:05
pkg/mimir/modules_test.go Outdated Show resolved Hide resolved
pkg/compactor/compactor_test.go Show resolved Hide resolved
@flxbk flxbk changed the title Felix/stable features 2.9 Promote some experimental feature to stable for release 2.9 Jun 1, 2023
@flxbk flxbk changed the title Promote some experimental feature to stable for release 2.9 Promote some experimental features to stable for release 2.9 Jun 1, 2023
@flxbk flxbk marked this pull request as draft June 1, 2023 10:21
@flxbk flxbk mentioned this pull request Jun 1, 2023
31 tasks
@flxbk flxbk force-pushed the felix/stable-features-2.9 branch from 16fd246 to bfe194a Compare June 1, 2023 11:15
@flxbk flxbk force-pushed the felix/stable-features-2.9 branch from c22f6a6 to 13b0db8 Compare June 1, 2023 12:58
"-compactor.ring.wait-stability-max-duration": "0",
"-compactor.ring.wait-stability-min-duration": "0",
"-compactor.ring.wait-stability-max-duration": "0",
"-compactor.first-level-compaction-wait-period": "0s",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is needed to unbreak TestCompactBlocksContainingNativeHistograms, which apparently expects this value to be lower than the new default.

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 this is fine to not slow down the test.

@flxbk flxbk marked this pull request as ready for review June 1, 2023 13:19
CHANGELOG.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's mention the jsonnet query sharding target series per shard new default in the jsonnet section.

Similarly for helm but in its own changelog file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 5bc71d6

Copy link
Contributor

@krajorama krajorama left a comment

Choose a reason for hiding this comment

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

Approved with one suggestion

Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
@krajorama krajorama merged commit aee065d into main Jun 5, 2023
22 checks passed
@krajorama krajorama deleted the felix/stable-features-2.9 branch June 5, 2023 07:36
flxbk added a commit that referenced this pull request Jun 5, 2023
* Increase linter timeout. (#5159)

* Bump actions/setup-go from 3 to 4 (#5142)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Jsonnet: Update rollout-operator to v0.6.0 (#5155)

* Jsonnet: Update rollout-operator to v0.6.0

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>

* Changelog

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>

* Test updates

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>

---------

Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>

* Jsonnet: remove $._config.querier.replicas and $._config.queryFrontend.replicas (#5131)

* Jsonnet: remove $._config.querier.replicas and $._config.queryFrontend.replicas

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Update CHANGELOG.md

Co-authored-by: Charles Korn <charleskorn@users.noreply.github.com>

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Charles Korn <charleskorn@users.noreply.github.com>

* Promote some experimental features to stable for release 2.9 (#5128)

* Declare -query-frontend.query-sharding-max-regexp-size-bytes stable

* Declare -query-scheduler.max-used-instances stable

* Declare -(alertmanager|blocks|ruler)-storage.storage-prefix stable

* Declare -compactor.first-level-compaction-wait-period stable

* Declare -usage-stats.* stable

* Declare -query-frontend.query-sharding-target-series-per-shard stable

* Update docs

* Update changelog

* Update changelogs

* Update operations/helm/charts/mimir-distributed/CHANGELOG.md

Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>

* Add missing entries for 2.9 to CHANGELOG.md (#5127)

* Add missing entries for 2.9 to CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>

* Update CHANGELOG.md

Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>

---------

Co-authored-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>

* Cut changelog for Mimir 2.9 (#5167)

* Changed default of -ruler.poll-interval from 1m to 10m (#5171)

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Add dashboard screenshots for Mimir 2.9 (#5168)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Charles Korn <charleskorn@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nick Pillitteri <56quarters@users.noreply.github.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Co-authored-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants