A config change is required if you use custom transformations via :transform with the :mbean sampler.
Description
In order to unify the custom transform behaviour across all the samplers and the publishers and avoid confusion the following change in behaviour is adopted:
All samplers will accept a custom transform function called :transform-samples which takes a sequence of samples and return an updated sequence of samples:
transform-samples -> sample-seq -> sample-seq
The :transform-samples function will be executed on the samples before being recorded, this is an important difference with the publishers custom :transform which is applied to events (not samples) that are already recorded and about to be published.
Changes from v0.7.1
You need to update your publisher configuration ONLY if you were using a custom transform:
Only the config key :transform has changed into :transform-samples
Previously the :transform function was applied to a single sample which breaks the general transformation functions,
now the :transform-samples applies to a sequence of samples.
A warning message appears only if the old :transform key is used.
The warning will be removed and the old key will be ignored from version v0.10.0 onward.
:mbean
0.8.0
+0.10.0
A config change is required if you use custom transformations via
:transform
with the:mbean
sampler.Description
In order to unify the custom transform behaviour across all the samplers and the publishers and avoid confusion the following change in behaviour is adopted:
:transform-samples
which takes a sequence of samples and return an updated sequence of samples:The
:transform-samples
function will be executed on the samples before being recorded, this is an important difference with the publishers custom:transform
which is applied to events (not samples) that are already recorded and about to be published.Changes from
v0.7.1
You need to update your publisher configuration ONLY if you were using a custom transform:
Only the config key
:transform
has changed into:transform-samples
Previously the:transform
function was applied to a single sample which breaks the general transformation functions, now the:transform-samples
applies to a sequence of samples.A warning message appears only if the old
:transform
key is used. The warning will be removed and the old key will be ignored from versionv0.10.0
onward.See discussion on https://github.com/BrunoBonacci/mulog/issues/72 for more info.