Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3486
Name of the new counters issonataflow_input_parameters_counter
Array input parameters will be stored by default as json strings
This can be changed by setting kie.monitoring.sonataflow.arrays.store property value to MULTI_PARAM, in which case arrays will be stored individually with keys of the forms arrray_key_name[array_item_number]
Finally, If array mode value is STRING, then the whole array is stored as one big string, as by default, but the format is slightly different (remove quotes, so strings values cannot be differentiated from numbers but making easier the elastic search queries over them)
"param_value":"[{x=12321, y=3}, {x=18, y=3232323}]"
Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3486 Name of the new counters is
sonataflow_input_parameters_counter
Array input parameters will be stored by default as json strings This can be changed by settingkie.monitoring.sonataflow.arrays.store
property value toMULTI_PARAM
, in which case arrays will be stored individually with keys of the formsarrray_key_name[array_item_number]
Lets illustrate that with an example If input is
by default it will be stored as
"param_name":"numbers","param_value":"[{\"x\":12321,\"y\":3},{\"x\":18,\"y\":3232323}]"
But if application.properties contains
kie.monitoring.sonataflow.arrays.store=MULTI_PARAM
There will be four entries added to the metrics
Finally, If array mode value is
STRING
, then the whole array is stored as one big string, as by default, but the format is slightly different (remove quotes, so strings values cannot be differentiated from numbers but making easier the elastic search queries over them)"param_value":"[{x=12321, y=3}, {x=18, y=3232323}]"