Skip to content

Log source window stats#823

Merged
alltilla merged 10 commits intoaxoflow:mainfrom
bazsi:log-source-window-stats
Oct 31, 2025
Merged

Log source window stats#823
alltilla merged 10 commits intoaxoflow:mainfrom
bazsi:log-source-window-stats

Conversation

@bazsi
Copy link
Member

@bazsi bazsi commented Oct 13, 2025

This PR turns window related stat counters into Prometheus style metrics and also adds the window_full_total metric to
count the number of cases where the input window is full.

@bazsi bazsi force-pushed the log-source-window-stats branch 2 times, most recently from 02f5d60 to 57df261 Compare October 19, 2025 13:58
bazsi added 10 commits October 26, 2025 04:42
Sometimes keys are not registered, e.g.  their value will be NULL, just
accept that in the destructor, making the call-sites a lot neater.  This is
not performance critical anyway.

Signed-off-by: Balazs Scheidler <[email protected]>
…etric

The legacy counter is gone (has always been on an undocumented
stats-level(4)). This renames the counter as well as applies the same labels
as other similar metrics.

Signed-off-by: Balazs Scheidler <[email protected]>
…unregister function

There's no point in having only this a separate function.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
@bazsi bazsi force-pushed the log-source-window-stats branch from 57df261 to c757651 Compare October 26, 2025 03:42
@bazsi bazsi mentioned this pull request Oct 27, 2025
@alltilla alltilla merged commit 1776317 into axoflow:main Oct 31, 2025
26 of 27 checks passed
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.

2 participants