You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidview_builder::setup_metrics() {
namespacesm= seastar::metrics;
_metrics.add_group("view_builder", {
sm::make_gauge("pending_bookkeeping_ops",
sm::description("Number of tasks waiting to perform bookkeeping operations"),
[this] { return _sem.waiters(); }),
sm::make_derive("steps_performed",
sm::description("Number of performed build steps."),
_stats.steps_performed),
sm::make_derive("steps_failed",
sm::description("Number of failed build steps."),
_stats.steps_failed),
sm::make_gauge("builds_in_progress",
sm::description("Number of currently active view builds."),
[this] { return _base_to_build_step.size(); })
});
}
builds_in_progress will indicate if there are active background processes, from steps_performed you can estimate how fast the process is going (or if it's stuck for some reason), and steps_failed will indicate if the process generally succeeds or fails.
There maybe metrics reflecting that as well - @psarna / @nyh - do we have any info of backgroundbuilding of MV/SI and how far are we from completion ?
We have an internal system table providing the status
In my view - we only need an indication this is being done in the background
The text was updated successfully, but these errors were encountered: