Cloud Foundry metrics collection is implemented as push metricsets that obtain the metrics from the firehose. Current implementation has some problems:
- Each document created by these metricsets contain a single metric, with the metric name in a field, and the value in other. The approach used in Metricbeat is to store values in fields whose name is obtained from the name of the metric. This allows to store multiple related metrics in the same document.
- Metrics of different types are collected from different metricsets (
counter and value), even when they are from the same services.
Create a single metricset that collects counters and values. Group metrics with the same dimensions in the same events.
Cloud Foundry metrics collection is implemented as push metricsets that obtain the metrics from the firehose. Current implementation has some problems:
counterandvalue), even when they are from the same services.Create a single metricset that collects counters and values. Group metrics with the same dimensions in the same events.