public class MetricDataListener extends org.hawkular.bus.common.consumer.BasicMessageListener<MetricDataMessage>
An adapter that processes Hawkular Metrics data, extracts relevant metric datums, translates them to Alerting Data format, and forwards them for Alert processing.
This is useful only when deploying into the Hawkular Bus with Hawkular Metrics. The expected message payload should be JSON representation ofMetricDataMessage.| Constructor and Description |
|---|
MetricDataListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onBasicMessage(MetricDataMessage msg) |
protected void onBasicMessage(MetricDataMessage msg)
onBasicMessage in class org.hawkular.bus.common.consumer.BasicMessageListener<MetricDataMessage>Copyright © 2015 Red Hat, Inc.. All rights reserved.