Skip to content

distributor: reintroduce cortex_distributor_sample_delay_seconds as a native histogram #11573

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

david-vavra
Copy link

@david-vavra david-vavra commented May 28, 2025

What this PR does

Distributor used to expose cortex_distributor_sample_delay_seconds classic histogram, which was removed in #8698. We are using it for computing SLI for ingest delay.

This PR readds it as a per-user native histogram.

Which issue(s) this PR fixes or relates to

#7516 #8698

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.

@david-vavra david-vavra requested a review from a team as a code owner May 28, 2025 17:01
@CLAassistant
Copy link

CLAassistant commented May 28, 2025

CLA assistant check
All committers have signed the CLA.

@narqo
Copy link
Contributor

narqo commented Jun 5, 2025

Distributor used to expose cortex_distributor_samples_per_request [..]

@krajorama @dimitarvdimitrov do you have opinion about adding this metric back (as a native histogram)? In #7516, krajo mentioned "it wasn't useful in a multi tenant environment", but I don't have historical context.

Co-authored-by: Taylor C <[email protected]>
@zenador zenador changed the title distributor: reintroduce cortex_distributor_samples_per_request as a native histogram distributor: reintroduce cortex_distributor_sample_delay_seconds as a native histogram Jun 10, 2025
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.

4 participants