Feature/stats metrics - #5792
Open
gmgigi96 wants to merge 5 commits into
Open
Conversation
gmgigi96
requested review from
diocas,
glpatcern,
jessegeens and
rawe0
as code owners
August 28, 2026 14:25
gmgigi96
force-pushed
the
feature/stats-metrics
branch
from
August 28, 2026 14:26
56d294f to
2ab9635
Compare
Selector resolution and control-channel dialing move out of the admin service so other fleet-internal consumers can invoke services too. The admin service delegates to it; behavior is unchanged.
A driver implements the stats.Reporter capability; its service exposes the payload through a 'stats' invocation. Payloads carry their own metric names, kinds and labels, plus per-owner aggregates.
Aggregate queries counting shares and links by status, permission class, item type and storage instance, plus creation, creator and recipient counts.
Zero configuration: it discovers the services advertising a 'stats' invocation through the registry, queries them over the control channel with its own short-lived admin-scoped token, and serves cached metrics. Per-owner aggregates are folded by site-defined owner attributes read from /etc/revad/owner-attributes.json.
gmgigi96
force-pushed
the
feature/stats-metrics
branch
from
August 28, 2026 14:43
2ab9635 to
60cf50f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.