1FUNCTION::JSON_ADD_A(3stap)       JSON Tapset      FUNCTION::JSON_ADD_A(3stap)
2
3
4

NAME

6       function::json_add_array - Add an array
7

SYNOPSIS

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

ARGUMENTS

12       name
13           The name of the array.
14
15       description
16           Array description. An empty string can be used.
17

DESCRIPTION

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

SEE ALSO

24       tapset::json(3stap)
25
26
27
28SystemTap Tapset Reference         May 2021        FUNCTION::JSON_ADD_A(3stap)
Impressum