MACRO::JSON_OUTPUT_A(3stap) | JSON Tapset | MACRO::JSON_OUTPUT_A(3stap) |
macro::json_output_array_string_value - Output a string value for metric in an array.
@json_output_array_string_value(array_name,array_index,metric_name,value)
array_name
array_index
metric_name
value
The json_output_array_string_value macro is designed to be called from the 'json_data' probe in the user's script to output a metric's string value that is in an array. This metric should have been added with json_add_array_string_metric.
October 2018 | SystemTap Tapset Reference |