Yijie Qin
Yijie Qin
Change the deduplication id to use groupKey + now from the context. now is generated from https://github.com/prometheus/alertmanager/blob/main/dispatch/dispatch.go#L442 which should be different from each flush. This change should be fix the...
1. Add validation for subject, if not a validate input, we will replace it with error message 2. Add validation for message attribute, if not a validate attribute, we will...
Add validation for subject 1. if not ASCII, we will replace it with error message 2. if longer than 100 characters, we will truncate the subject
Add validation for message attribute, if not a validate attribute, we will remove the attribute Separate from https://github.com/prometheus/alertmanager/pull/2808
Add validation for message, if not a validate message, we will replace the message with error message Separate from https://github.com/prometheus/alertmanager/pull/2808
**What this PR does**: 1. add the integration with rulespostprocess func 2. add the syncForState ability to solve issue mention here:https://github.com/cortexproject/cortex/issues/4435 3. enable the ruler replication factor to be more...
**Describe the bug** The load rule groups load the rule groups file for all tenants that one ruler is responsible for. Which means if one rule group file is corrupted,...
### Description ### Recently we noticed a dead lock issue happened in our running alert managers. Reference: * dispather: https://github.com/prometheus/alertmanager/blob/main/dispatch/dispatch.go#L143 * mem.Alerts.Subscribe: https://github.com/prometheus/alertmanager/blob/1da134aa30c81e656c5156df1499a77d5df92269/provider/mem/mem.go#L151 * claim store.Alerts.mtx: https://github.com/prometheus/alertmanager/blob/1da134aa30c81e656c5156df1499a77d5df92269/provider/mem/mem.go#L157 https://github.com/prometheus/alertmanager/blob/1da134aa30c81e656c5156df1499a77d5df92269/store/store.go#L119 * gc:...
### Background Without pagination of the APIs, the [getAlertGroups](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/prometheus/alertmanager/main/api/v2/openapi.yaml#/alertgroup/getAlertGroups) and [getAlerts](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/prometheus/alertmanager/main/api/v2/openapi.yaml#/alert/getAlerts) can cause a significant performance impact on the server After discussed in [proposal](https://github.com/prometheus/alertmanager/issues/3297), we get an agreement on create...
This issue is for discuss how we should implement the pagination token for https://github.com/prometheus/alertmanager/issues/3361. Open this issue to bring a discussion on best practices for pagination tokens with open-source guidance....