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

Deduplicate metamonitoring queries #6121

Merged
merged 3 commits into from
Feb 14, 2023
Merged

Deduplicate metamonitoring queries #6121

merged 3 commits into from
Feb 14, 2023

Conversation

abaguas
Copy link
Contributor

@abaguas abaguas commented Feb 13, 2023

Signed-off-by: Andre Baptista Aguas andre.aguas@protonmail.com

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Add the Deduplicate: true option to metamonitoring queries. The default value was false

Verification

Ran the binary in receive mode and confirmed that query results are deduplicated.

@abaguas
Copy link
Contributor Author

abaguas commented Feb 13, 2023

Resolves #6120

1 similar comment
@abaguas
Copy link
Contributor Author

abaguas commented Feb 13, 2023

Resolves #6120

@@ -31,7 +31,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re
- [#6082](https://github.com/thanos-io/thanos/pull/6082) Store: Don't error when no stores are matched.
- [#6098](https://github.com/thanos-io/thanos/pull/6098) Cache/Redis: upgrade `rueidis` to v0.0.93 to fix potential panic when the client-side caching is disabled.
- [#6103](https://github.com/thanos-io/thanos/pull/6103) Mixins(Rule): Fix query for long rule evaluations.

- [#6121](https://github.com/thanos-io/thanos/pull/6121) Receive: Deduplicate metamonitoring queries.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep an empty line to the next section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks!

abaguas and others added 3 commits February 14, 2023 06:33
Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>
@fpetkovski
Copy link
Contributor

cc @saswatamcode

Copy link
Member

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

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

🙇 good catch!

@GiedriusS GiedriusS merged commit 3cf01e8 into thanos-io:main Feb 14, 2023
@abaguas abaguas deleted the metamonitoring/6120 branch February 14, 2023 09:53
@saswatamcode
Copy link
Member

Thanks for fixing! 🎉

ngraham20 pushed a commit to ngraham20/thanos that referenced this pull request Apr 17, 2023
* Deduplicate metamonitoring queries

Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>

* Update CHANGELOG

Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>

* do not remove empty line from CHANGELOG

Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>

---------

Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>
Co-authored-by: Andre Baptista Aguas <andre.agua@protonmail.com>
ngraham20 pushed a commit to ngraham20/thanos that referenced this pull request Apr 17, 2023
* Deduplicate metamonitoring queries

Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>

* Update CHANGELOG

Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>

* do not remove empty line from CHANGELOG

Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>

---------

Signed-off-by: Andre Baptista Aguas <andre.aguas@protonmail.com>
Signed-off-by: Andre Baptista Aguas <andre.agua@protonmail.com>
Co-authored-by: Andre Baptista Aguas <andre.agua@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants