Skip to content

Distributor: Log deduplicated samples with conflicting timestamps #11159

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Apr 9, 2025

What this PR does

Enhance distributor to log number of deduplicated samples/histograms with conflicting timestamps, for each affected metric in the write request.

Update: @bboreham has advised that traces would be a better choice than logs, with performance in mind. Logging of this was originally advised against, as the sheer volume would kill distributors. An idea then was sampled logging, but Bryan proposes traces. I'm investigating whether that would be acceptable to our internal users.

Which issue(s) this PR fixes or relates to

Fixes #

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.

@aknuds1 aknuds1 added component/distributor enhancement New feature or request labels Apr 9, 2025
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
@aknuds1 aknuds1 force-pushed the arve/distributor-log-deduped-samples branch from 7fac083 to 62be103 Compare April 9, 2025 08:26
@aknuds1 aknuds1 requested a review from bboreham April 9, 2025 08:26
@aknuds1 aknuds1 changed the title WIP: Distributor: Log deduplicated samples with conflicting timestamps Distributor: Log deduplicated samples with conflicting timestamps Apr 9, 2025
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.

1 participant