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

Provide a way to check backfilling rate (in rows/s). #19120

Open
Tracked by #19084
neverchanje opened this issue Oct 25, 2024 · 2 comments
Open
Tracked by #19084

Provide a way to check backfilling rate (in rows/s). #19120

neverchanje opened this issue Oct 25, 2024 · 2 comments

Comments

@neverchanje
Copy link
Contributor

neverchanje commented Oct 25, 2024

We received a complaint from customer about the lack of the backfilling rate.
So far, we've planned to show "elapsed time" and "progress in percentage" on ui, but the backfilling rate is an essential metric to include as well.

Please comment within the issue about what's the approach I can use to obtain this data. cc @xxchan

@xxchan
Copy link
Member

xxchan commented Oct 25, 2024

On Prometheus/Grafana, we have:

  • Backfill Snapshot Read Throughput
  • Backfill Upstream Throughput
  • Snapshot Backfill Lag
  • Source Backfill Throughput
  • ...?

With SQL SHOW JOBS or select * from rw_ddl_progress, there's a progress string, can be like:

  • MView Backfill: 99.99% (3/3), Source Backfill: 0 rows consumed
  • Snapshot [32.08%]

So there's no direct access to backfilled rows. If needed, we may add a column besides the progress string, as #18112 (comment).

@fuyufjh
Copy link
Member

fuyufjh commented Oct 28, 2024

Please check the Grafana dashboard definition for the PromQL query. These panels are exactly what you need:

  • Backfill Snapshot Read Throughput (for MV backfilling)
  • Source Backfill Throughput (for Source backfilling)

@fuyufjh fuyufjh removed this from the release-2.2 milestone Oct 28, 2024
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

No branches or pull requests

3 participants