Alooma exposes a set of metrics which you can use to track the health and status of your data-pipeline.
get_metrics_by_names(metric_names, minutes)to get system metrics.
metric_namesis either one or a list of supported metric names, and
minutesis minutes back from the current time.
- The various metric names are:
'EVENTS_IN_PIPELINE', 'UNMAPPED_EVENTS', 'IGNORED_EVENTS', 'ERROR_EVENTS', 'LOADED_EVENTS_RATE'
- The return value is a list, with the same size and order as:
metric_names, where each element is a dictionary with
targetis the name of the metric, and
datapointsis an array of 2-tuples of