MetricEngineInterface
MetricEngineInterface.php
:
13
Interface
Methods¶
process()
¶
MetricEngineInterface.php
:
29
Computes every metric that declares support for the given input and routes the resulting values to their stores. Inputs are produced by event mappers (repository event path) or built directly by non-event sources (recalculation, backfill).
|
|
|
Each metric is routed once per input object and entity until the engine is reset (end of request or message): processing the same input instance again does nothing, so build a new input to recompute.
A failing metric is logged and skipped, the other metrics still run. LogicException and Error are always rethrown, and every failure is rethrown in debug mode.
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $input | MetricInputInterface | - | - |