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

Implementing Label Assignment on Schedules, Escalation Policies, and Rotations #3403

Open
mastercactapus opened this issue Nov 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mastercactapus
Copy link
Member

What problem would you like to solve? Please describe:
Currently, GoAlert allows the assignment of labels to services for easy searching and grouping. Lets expand this functionality to schedules, escalation policies, and rotations.

Describe the solution you'd like:
Extend the label assignment functionality to schedules, escalation policies, and rotations. This will enable better grouping and searching of related resources in GoAlert.

Implementation:

  1. Add a labels attribute to the Create calls for these resource types
  2. Add the new target types to the setLabel mutation
  3. Update the search queries to support labelkey=value as a label search

Describe alternatives you've considered:
N/A

Additional context:
The primary use case for this feature would be updating GoAlert configuration by API (as opposed to manually in the UI), where labels could group related resources. Additionally, the current implementation was designed with this extension in mind, which can make this enhancement more achievable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant