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

Fix cortex_ingest_storage_strong_consistency_wait_duration_seconds tracking in query-frontend #8845

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

pracucci
Copy link
Collaborator

What this PR does

In #8808 I did a mistake related to cortex_ingest_storage_strong_consistency_wait_duration_seconds (latency) tracking in the query-frontend: the metric currently tracks the entire execution of downstream roundtrippers too, instead of just the time spent waiting for the last produced offsets.

This PR fixes it.

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].
  • about-versioning.md updated with experimental features.

…acking in query-frontend

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci requested a review from a team as a code owner July 29, 2024 16:00
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Copy link
Contributor

@narqo narqo left a comment

Choose a reason for hiding this comment

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

🔥

@pracucci pracucci merged commit 8e6f256 into main Jul 30, 2024
29 checks passed
@pracucci pracucci deleted the fix-latency-tracking branch July 30, 2024 05:46
pracucci added a commit that referenced this pull request Jul 30, 2024
…acking in query-frontend (#8845)

* Fix cortex_ingest_storage_strong_consistency_wait_duration_seconds tracking in query-frontend

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

* Update CHANGELOG

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

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
pracucci added a commit that referenced this pull request Jul 30, 2024
…duration_seconds tracking in query-frontend (#8845) (#8849)

* Fix cortex_ingest_storage_strong_consistency_wait_duration_seconds tracking in query-frontend (#8845)

* Fix cortex_ingest_storage_strong_consistency_wait_duration_seconds tracking in query-frontend

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

* Update CHANGELOG

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

---------

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

* Fix TestPrometheusCodec_EncodeMetricsQueryRequest_ShouldPropagateHeadersInAllowList flakyness (#8841)

* Fix TestPrometheusCodec_EncodeMetricsQueryRequest_ShouldPropagateHeadersInAllowList flakyness

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

* Added PR number to CHANGELOG

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

---------

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

* Amend CHANGELOG

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

---------

Signed-off-by: Marco Pracucci <marco@pracucci.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