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

Build 24h blocks for older OOO data #751

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Build 24h blocks for older OOO data #751

merged 6 commits into from
Nov 20, 2024

Conversation

codesome
Copy link
Member

@codesome codesome commented Nov 15, 2024

For grafana/mimir#9911

In order to reduce the number of blocks when a long OOO window is configured.

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
tsdb/db.go Outdated Show resolved Hide resolved
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
tsdb/db.go Outdated Show resolved Hide resolved
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
@codesome codesome enabled auto-merge (squash) November 20, 2024 22:01
@codesome codesome merged commit 3931e9c into main Nov 20, 2024
9 checks passed
@codesome codesome deleted the codesome/big-ooo-blocks branch November 20, 2024 22:15
codesome added a commit that referenced this pull request Nov 21, 2024
* Build 24h blocks for older OOO data

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add TestBiggerBlocksForOldOOOData

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comment

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

---------

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
colega pushed a commit that referenced this pull request Nov 29, 2024
* Build 24h blocks for older OOO data

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add TestBiggerBlocksForOldOOOData

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comment

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

---------

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
colega pushed a commit that referenced this pull request Nov 29, 2024
* Build 24h blocks for older OOO data

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add TestBiggerBlocksForOldOOOData

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comment

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

---------

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
colega pushed a commit that referenced this pull request Nov 29, 2024
* Build 24h blocks for older OOO data

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add TestBiggerBlocksForOldOOOData

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comment

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

---------

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
colega pushed a commit that referenced this pull request Nov 29, 2024
* Build 24h blocks for older OOO data

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add TestBiggerBlocksForOldOOOData

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comment

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

---------

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
colega pushed a commit that referenced this pull request Nov 29, 2024
* Build 24h blocks for older OOO data

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add TestBiggerBlocksForOldOOOData

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comments

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix comment

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

---------

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
This backports the following PRs:
- prometheus/prometheus#15426
- grafana/mimir-prometheus#751
- grafana/mimir-prometheus#763

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
This backports the following PRs:
- prometheus/prometheus#15426
- grafana/mimir-prometheus#751
- grafana/mimir-prometheus#763

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
This backports the following PRs:
- prometheus/prometheus#15426
- grafana/mimir-prometheus#751
- grafana/mimir-prometheus#763

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
This backports the following PRs:
- prometheus/prometheus#15426
- grafana/mimir-prometheus#751
- grafana/mimir-prometheus#763

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
This backports the following PRs:
- prometheus/prometheus#15426
- grafana/mimir-prometheus#751
- grafana/mimir-prometheus#763

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
colega added a commit to grafana/mimir that referenced this pull request Nov 29, 2024
This backports the following PRs:
- prometheus/prometheus#15426
- grafana/mimir-prometheus#751
- grafana/mimir-prometheus#763

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.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.

2 participants