Implement ResponseFactoryInterface
which consumes the metric group source and produces PSR-7 Response
These could provide any metrics, i.e FS stats, exec result, API calls, etc,
represented with lazily wrapped MetricInterface
implementation
AbstractDoctrineStorage
provides metrics stored with Doctrine 2 ORM powered with DBAL. Atomic adjustments allowed
Common options:
prefix
option allows you to add the prefix to every metric name in every group
Built-in formats
TelegrafJsonResponseFactory
(telegraf_json
) creates telegraf JSON compatible output with the following optionspropagate_tags
allows you to display metric tags on the group level. In case of different tag values the one rendered later will wingroup_by_tags
allows you to create nested groups according to tag value. Usually you want also propagate these tags
PrometheusResponseFactory
(prometheus
) creates prometheus compatible output