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

Upgrade mimir-prometheus #4340

Merged
merged 2 commits into from
Mar 2, 2023
Merged

Upgrade mimir-prometheus #4340

merged 2 commits into from
Mar 2, 2023

Conversation

pracucci
Copy link
Collaborator

@pracucci pracucci commented Mar 1, 2023

What this PR does

Today I've merged few PRs in mimir-prometheus to improve and fix the fast regexp matcher. I would like to upgrade the vendored mimir-prometheus to get these improvements.

Which issue(s) this PR fixes or relates to

N/A

Checklist

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

@pracucci pracucci requested a review from colega March 1, 2023 16:59
@pracucci pracucci marked this pull request as ready for review March 1, 2023 16:59
@pracucci pracucci requested a review from a team as a code owner March 1, 2023 16:59
Copy link
Contributor

@colega colega left a comment

Choose a reason for hiding this comment

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

LGTM, but I think the fix for substring matcher worth a bugfix entry in the changelog.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci
Copy link
Collaborator Author

pracucci commented Mar 2, 2023

LGTM, but I think the fix for substring matcher worth a bugfix entry in the changelog.

Right. I've pushed a CHANGELOG entry with my best attempt to easily describe the bug.

@@ -59,6 +59,7 @@ Querying with using `{__mimir_storage__="ephemeral"}` selector no longer works.
* [BUGFIX] Ingester: compact out-of-order data during `/ingester/flush` or when TSDB is idle. #4180
* [BUGFIX] Ingester: conversion of global limits `max-series-per-user`, `max-series-per-metric`, `max-metadata-per-user` and `max-metadata-per-metric` into corresponding local limits now takes into account the number of ingesters in each zone. #4238
* [BUGFIX] Ingester: track `cortex_ingester_memory_series` metric consistently with `cortex_ingester_memory_series_created_total` and `cortex_ingester_memory_series_removed_total`. #4312
* [BUGFIX] Querier: fixed a bug which was incorrectly matching series with regular expression label matchers with begin/end anchors in the middle of the regular expression. #4340
Copy link
Contributor

Choose a reason for hiding this comment

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

Also store-gateway, but not important I guess.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right. I think my take here is more like "a bug affecting queries, and any query go through the querier".

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@pracucci pracucci merged commit ff6fbdf into main Mar 2, 2023
@pracucci pracucci deleted the upgrade-mimir-prometheus branch March 2, 2023 09:24
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