Skip to content

Feature/stats metrics - #5792

Open
gmgigi96 wants to merge 5 commits into
masterfrom
feature/stats-metrics
Open

Feature/stats metrics#5792
gmgigi96 wants to merge 5 commits into
masterfrom
feature/stats-metrics

Conversation

@gmgigi96

Copy link
Copy Markdown
Member

No description provided.

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
gmgigi96 force-pushed the feature/stats-metrics branch from 2ab9635 to 60cf50f Compare August 28, 2026 14:43
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