Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Add alert routing #149

Merged
merged 24 commits into from
Aug 24, 2023
Merged

Add alert routing #149

merged 24 commits into from
Aug 24, 2023

Conversation

adrain-cb
Copy link
Collaborator

@adrain-cb adrain-cb commented Aug 11, 2023

Fixes Issue

Fixes #140

Changes proposed

Screenshots (Optional)

Note to reviewers

Copy link
Collaborator

@epociask epociask left a comment

Choose a reason for hiding this comment

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

Let's also ensure to add:

  • Unit tests for new/changed code
  • Updated E2E tests to ensure proper config ingestion to alerting flow
  • Updated documentation detailing how to use this feature
  • A template file that users can copy and quickly fill in

internal/client/alert_client/alert_client.go Outdated Show resolved Hide resolved
internal/core/alert.go Outdated Show resolved Hide resolved
internal/core/alert.go Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
internal/config/config.go Show resolved Hide resolved
internal/client/alert_client/pagerduty_client.go Outdated Show resolved Hide resolved
internal/client/alert_client/pagerduty_client.go Outdated Show resolved Hide resolved
internal/client/alert_client/alert_client.go Outdated Show resolved Hide resolved
internal/client/alert_client/alert_client.go Outdated Show resolved Hide resolved
internal/client/alert_client/pagerduty_client.go Outdated Show resolved Hide resolved
@adrain-cb adrain-cb marked this pull request as ready for review August 22, 2023 00:25
@adrain-cb adrain-cb changed the title Add alert config Add alert routing Aug 22, 2023
Copy link
Collaborator

@epociask epociask left a comment

Choose a reason for hiding this comment

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

Generally looks a lot better and is certainly shaping up. Think we'll be smooth sailing the review round after this!

alerts-template.yaml Outdated Show resolved Hide resolved
e2e/e2e_test.go Show resolved Hide resolved
e2e/e2e_test.go Outdated Show resolved Hide resolved
internal/alert/client_map.go Outdated Show resolved Hide resolved
internal/alert/client_map.go Outdated Show resolved Hide resolved
internal/client/slack_client.go Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
docs/alert-routing.md Show resolved Hide resolved
e2e/e2e.go Outdated Show resolved Hide resolved
internal/core/alert.go Outdated Show resolved Hide resolved
@epociask
Copy link
Collaborator

Can we also update the alerting documentation to reflect this new abstraction within its architecture diagrams and descriptions?

alerts-template.yaml Outdated Show resolved Hide resolved
e2e/e2e.go Outdated Show resolved Hide resolved
internal/alert/client_map.go Outdated Show resolved Hide resolved
internal/alert/client_map_test.go Outdated Show resolved Hide resolved
internal/alert/manager.go Outdated Show resolved Hide resolved
internal/alert/store_test.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@epociask epociask left a comment

Choose a reason for hiding this comment

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

Just a few knits and this should be good to go. This looks really good, thank you!

e2e/e2e_test.go Outdated Show resolved Hide resolved
e2e/e2e_test.go Show resolved Hide resolved
Copy link
Collaborator

@epociask epociask left a comment

Choose a reason for hiding this comment

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

LGTM

@adrain-cb adrain-cb merged commit 63104d3 into master Aug 24, 2023
6 checks passed
@adrain-cb adrain-cb deleted the add-alert-config branch August 24, 2023 21:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable Alerting Definition
2 participants