Skip to content

feat: Recording rules settings #3946

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

Merged
merged 20 commits into from
Feb 27, 2025
Merged

feat: Recording rules settings #3946

merged 20 commits into from
Feb 27, 2025

Conversation

bryanhuhta
Copy link
Contributor

@bryanhuhta bryanhuhta commented Feb 24, 2025

Adds a tenant settings submodule that can manage recording rules.

The current API allows for:

  • Listing recording rules /settings.v1.RecordingRulesService/ListRecordingRules
  • Creating a recording rule /settings.v1.RecordingRulesService/InsertRecordingRule
  • Deleting a recording rule /settings.v1.RecordingRulesService/DeleteRecordingRule

This is the minimum API required to power the UI. Updates and reading single records are not required by the UI, though I am happy to add them in this PR if we want to attempt a future-proof of this API.

The general architecture of this submodule looks like this:

diagram

@bryanhuhta bryanhuhta self-assigned this Feb 24, 2025
@alsoba13
Copy link
Contributor

alsoba13 commented Feb 25, 2025

FYI, I merged main to this branch, so I can make #3945 be a branch of this one and extend it to be consumed by compaction workers (WIP)

Copy link
Contributor

@simonswine simonswine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bryanhuhta bryanhuhta marked this pull request as ready for review February 27, 2025 22:32
@bryanhuhta bryanhuhta requested a review from a team as a code owner February 27, 2025 22:32
@bryanhuhta bryanhuhta requested a review from a team as a code owner February 27, 2025 22:32
@bryanhuhta bryanhuhta merged commit 1f58b6b into main Feb 27, 2025
21 checks passed
@bryanhuhta bryanhuhta deleted the recording-rules-settings branch February 27, 2025 22:46
shelldandy pushed a commit to shelldandy/pyroscope that referenced this pull request Mar 14, 2025
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.

3 participants