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

Tracking issue: group budgets #110

Open
3 tasks
flyingmutant opened this issue Dec 31, 2022 · 0 comments
Open
3 tasks

Tracking issue: group budgets #110

flyingmutant opened this issue Dec 31, 2022 · 0 comments
Labels
A-sh Area: statshouse (agent / aggregator) A-ui Area: statshouse-ui C-feature-request Category: request for new functionality C-tracking-issue Category: tracking issue

Comments

@flyingmutant
Copy link
Contributor

flyingmutant commented Dec 31, 2022

Multi-tenancy at the level of metric groups, not individual metrics.

  • groups are simple prefixes (without trailing _)
  • groups must be fully disjoint (no prefixes of prefixes etc.)
  • default group always exists (without DB), and has different semantics for budget and access
  • default group has fixed weight of 100
  • group has separate fields: optional<number> for budget weight and protected bits (separate read and write, for e.g. common)
  • no UI changes except for group admin page

TODO:

  • create separate task for "fair key" in metrics (like common_, sys_ etc.)
  • require global admin bit to change metric group via renaming (because of access concerns)
  • builtin metric to track space used for each group
@flyingmutant flyingmutant added A-ui Area: statshouse-ui A-sh Area: statshouse (agent / aggregator) C-feature-request Category: request for new functionality C-tracking-issue Category: tracking issue labels Dec 31, 2022
@flyingmutant flyingmutant pinned this issue May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sh Area: statshouse (agent / aggregator) A-ui Area: statshouse-ui C-feature-request Category: request for new functionality C-tracking-issue Category: tracking issue
Projects
None yet
Development

No branches or pull requests

1 participant