macro::json_output_array_numeric_value3stap
Output a numeric value for metric in an array.
Usage
@json_output_array_numeric_value(array_name,array_index,metric_name,value)
Arguments
array_name
The name of the array.
array_index
The array index (as a string) indicating where to store the numeric value.
metric_name
The name of the numeric metric.
value
The numeric value to output.
Overview
The json_output_array_numeric_value macro is designed to be called from the 'json_data' probe in the user's script to output a metric's numeric value that is in an array. This metric should have been added with json_add_array_numeric_metric.
See ALSO0
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.