1FUNCTION::JSON_ADD_A(3stap) JSON Tapset FUNCTION::JSON_ADD_A(3stap)
2
3
4
6 function::json_add_array - Add an array
7
9 json_add_array:long(name:string,description:string)
10
12 name
13 The name of the array.
14
15 description
16 Array description. An empty string can be used.
17
19 This function adds a array, setting up everything needed. Arrays
20 contain other metrics, added with json_add_array_numeric_metric or
21 json_add_array_string_metric.
22
24 tapset::json(3stap)
25
26
27
28SystemTap Tapset Reference April 2023 FUNCTION::JSON_ADD_A(3stap)