Skip to content

Conversation

@trueleo
Copy link
Contributor

@trueleo trueleo commented Feb 27, 2023

Description

@nitisht nitisht merged commit c123ed8 into parseablehq:main Feb 27, 2023

let alert = &mut alerts[0];

alert["labels"].as_object_mut().expect("is object").extend(
Copy link
Contributor

Choose a reason for hiding this comment

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

Small suggestion, we should not have all the rules details as the standard labels (additional_labels) as they will be visible and if just one changes it create a new alert.

We could have the more internal (metadata) labels (__meta_xx), for these kind of rule details

Copy link
Member

Choose a reason for hiding this comment

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

Thanks @syepes . It is not clear from the docs, but are the Prometheus relabeling rules applicable for alertmanager as well?

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @syepes . It is not clear from the docs, but are the Prometheus relabeling rules applicable for alertmanager as well?

#311 (comment)

@trueleo trueleo deleted the context_resolved branch February 28, 2023 06:28
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