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

store-gateway: record request ambient time for LabelNames and LabelValues #7622

Conversation

dimitarvdimitrov
Copy link
Contributor

The ambient time (queryStats.streamingSeriesAmbientTime) is used to observe the "other" stage duration in BucketStore.recordStreamingSeriesStats after running LabelNames, LabelValues and Series requests.

But queryStats.streamingSeriesAmbientTime is only populated for Series requests. This results in skewed "other" timings.

…lues

The ambient time (`queryStats.streamingSeriesAmbientTime`) is used to observe the `"other"` stage duration in `BucketStore.recordStreamingSeriesStats` after running LabelNames, LabelValues and Series requests.

But `queryStats.streamingSeriesAmbientTime` is only populated for `Series` requests. This results in skewed `"other"` timings.

Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
@dimitarvdimitrov dimitarvdimitrov requested a review from a team as a code owner March 13, 2024 16:08
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

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

LGTM

@dimitarvdimitrov dimitarvdimitrov merged commit 3ebb958 into main Mar 15, 2024
29 checks passed
@dimitarvdimitrov dimitarvdimitrov deleted the dimitar/st-gw/record-ambient-time-for-label-names-and-label-values-requests branch March 15, 2024 21:19
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