Skip to content

[Metrics Alerts] Create Metric Threshold Alert Type and Executor #56427

@Zacqary

Description

@Zacqary

Based off Alerting POC, create a metric threshold alert type and executor function using the new Alerting API.

Requirements

  • Name of alert
  • Frequency of check
  • Frequency of re-notification after being in an alert state
  • Conditions:
    • Metric to check
    • Threshold value
    • Comparator (greater than/less than/gt or eq/lt or eq)
  • Boolean logic (for multiple conditions: A & B | C)

Implementation Notes

  • We should use the same APIs we use for the UI to generate the values for the alert checks
    • Use the snapshot api with a filter applied for alerts based on the Snapshot metrics
    • Use TSVB api for the Metrics Explorer metrics

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions