Skip to content

Automatically set labels for Rule - #754

Draft
hoangpn wants to merge 1 commit into
line:masterfrom
hoangpn:feature/automatically_set_label_for_rule
Draft

Automatically set labels for Rule#754
hoangpn wants to merge 1 commit into
line:masterfrom
hoangpn:feature/automatically_set_label_for_rule

Conversation

@hoangpn

@hoangpn hoangpn commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

We have changed to set the value of the Rule's "service" and "project" labels to always match the name of the Service and Project at the models layer instead of views layer. This ensures that user will not be able to modify these labels and Alerts from Alertmanager are correctly routed to the Service or Project that the Rule belongs to.

@hoangpn
hoangpn force-pushed the feature/automatically_set_label_for_rule branch from 4e22237 to 5bbd8d7 Compare July 22, 2026 08:17
@hoangpn hoangpn changed the title Automatically set labels for the Rule Automatically set labels for Rule Jul 22, 2026
@hoangpn
hoangpn force-pushed the feature/automatically_set_label_for_rule branch from 77a4024 to 5bbd8d7 Compare July 23, 2026 02:38
We have changed to set the value of the Rule's "service" and "project" labels to always
match the name of the Service and Project at the models layer instead of views layer.
This ensures that user will not be able to modify these labels and Alerts from Alertmanager
are correctly routed to the Service or Project that the Rule belongs to.
@hoangpn
hoangpn force-pushed the feature/automatically_set_label_for_rule branch from 5bbd8d7 to 971f9b9 Compare July 23, 2026 02:38
@hoangpn
hoangpn marked this pull request as draft July 24, 2026 04:05
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