MetricMonitor only works for generating text alerts, but in a smart monitoring system I want to invoke actions based upon the alerts. To do this I don't want to have the fragility & complexity of parsing a string.
So maybe a second optional output port that submits an SPL tuple with a schema that contains items such as metric name, job id, operator, port etc etc. Then MetricMonitorService would use that port and publish the useful alerts.
MetricMonitor
only works for generating text alerts, but in a smart monitoring system I want to invoke actions based upon the alerts. To do this I don't want to have the fragility & complexity of parsing a string.So maybe a second optional output port that submits an SPL tuple with a schema that contains items such as metric name, job id, operator, port etc etc. Then
MetricMonitorService
would use that port and publish the useful alerts.