You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When receiving an alert from the Alerter the AlertStore performs the following:
It stores the alert in Mongo
Stores the state of the alerted metric inside Redis. This is then used by the API/UI to display the problems in the Overview Dashboard.
Following the SRP (single responsibility principle) the AlertStore should perform one job only, that being of storing the alert in Mongo. Therefore, we need to create another component which continuously checks the values of each metric and compares them to the alertable thresholds/conditions.
In order to do this change we need to perform the following tasks:
Remove metric state storing logic from the AlertStore
Remove internal alerts mechanism as it would no longer be needed
Develop the MetricsStateStore by integrating each monitorable in a granular way using the Strategy pattern
Description
The aim of this ticket is to implement the MetricStateStore component.
To implement the MetricStateStore you need to perform the following:
Create the connections with RabbitMQ such that the MetricStateStore is able to receive the transformed data and alerts configs for every monitorable type
Implement the routing key <-> strategy logic so that the appropriate strategy is executed for the receive msgs' routing key
Implement the heartbeat integration logic
Update the StoreManager component to take the MetricStateStore in consideration
Update the run_alerter.py to include the MetricStateStore config queues
Acceptance criteria
Scenario: The MetricStateStore is able to store the monitorables state for every monitorable type
The text was updated successfully, but these errors were encountered:
Technical Story
When receiving an alert from the
Alerter
theAlertStore
performs the following:Mongo
API/UI
to display the problems in theOverview Dashboard
.Following the SRP (single responsibility principle) the
AlertStore
should perform one job only, that being of storing the alert inMongo
. Therefore, we need to create another component which continuously checks the values of each metric and compares them to the alertable thresholds/conditions.In order to do this change we need to perform the following tasks:
AlertStore
MetricsStateStore
by integrating each monitorable in a granular way using the Strategy patternDescription
The aim of this ticket is to implement the
MetricStateStore
component.Resources:
Requirements
To implement the
MetricStateStore
you need to perform the following:MetricStateStore
is able to receive the transformed data and alerts configs for every monitorable typeStoreManager
component to take theMetricStateStore
in considerationrun_alerter.py
to include theMetricStateStore
config queuesAcceptance criteria
Scenario: The
MetricStateStore
is able to store the monitorables state for every monitorable typeThe text was updated successfully, but these errors were encountered: