Skip to content

Publish ShardThroughputReadings for all shards; shared rate meter - #6887

Open
nadav-govari wants to merge 1 commit into
nadav/pr1from
nadav/pr2
Open

nadav-govari wants to merge 1 commit into
nadav/pr1from
nadav/pr2

Conversation

@nadav-govari

Copy link
Copy Markdown
Collaborator

Description

In preparation for the gRPC shard throughput readings, this creates a shared rate meter that tracks all readings on the ingester. It sits at the top level of the ingester state so that it doesn't require locking the state or WAL to update, meaning it won't contend with other operations for those locks and can function independently.

The shard throughput readings task will eventually feed these readings to the RPC. It harvests the last second of readings from the shared rate meter, and writes them to a watch channel, which will eventually be used by the IndexerStateReporter. For now, the receiver side of the channel is unused.

How was this PR tested?

Unit tests.

@nadav-govari
nadav-govari added this pull request to stack #6888 October 8, 2026 15:05
@nadav-govari
nadav-govari requested a review from a team as a code owner October 8, 2026 15:05
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T15:13:04.735946Z 03c3482 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 03c3482618

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread quickwit/quickwit-ingest/src/ingest_v2/rate_meter.rs
Comment thread quickwit/quickwit-ingest/src/ingest_v2/shard_readings.rs

This branch has not been deployed

No deployments
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.

1 participant