DOKK / manpages / debian 12 / systemtap-doc / function::json_add_array.3stap.en
FUNCTION::JSON_ADD_A(3stap) JSON Tapset FUNCTION::JSON_ADD_A(3stap)

function::json_add_array - Add an array


json_add_array:long(name:string,description:string)

name

The name of the array.

description

Array description. An empty string can be used.

This function adds a array, setting up everything needed. Arrays contain other metrics, added with json_add_array_numeric_metric or json_add_array_string_metric.

tapset::json(3stap)

November 2022 SystemTap Tapset Reference