Skip to content

1.1.0

Compare
Choose a tag to compare
@nikolay-martynov nikolay-martynov released this 28 Apr 13:39
· 29 commits to master since this release

Added support for reporting time it takes to map individual fields.

This can be done by decorating FieldMapper with MeteringFieldMapperDecorator which is to be supplied with MetricNameCalculator. MetricNameCalculator allows to define how much metrics will be reported. The default implementation is PrefixedFieldIdMetricNameCalculator. It simply reports each field as a separate metric. However, by supplying own implementation of MetricNameCalculator you can have additional axes. For example, if you have separate mapping tables for different event types then you can include event type in metric name. This will allow to track how much time is needed for each field in each of mapping tables.