Skip to content

[Request] Smart Triggers MBean evaluator should use notifications rather than polling #815

@andrewazores

Description

@andrewazores

https://docs.oracle.com/cd/E11035_01/wls100/jmx/notifications.html

When the Agent's Smart Trigger subsystem has some set of trigger expressions to be monitored,

  1. the expression should be parsed and the metric(s) to be evaluated pulled out
  2. notification listeners for those metrics should be hooked up
  3. notification events from the MBean(s) should update a cache within the Agent which holds the most value of each metric
  4. the CEL expression evaluation should be performed based on that cache, not the "live" MBean values
  5. if the cache is being updated too frequently, there should be some throttling/rate-limiting mechanism (with configurable limit) to avoid repeated CEL evaluations happening too often

Metadata

Metadata

Assignees

Labels

featNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions