1FUNCTION::JSON_ADD_A(3stap) JSON Tapset FUNCTION::JSON_ADD_A(3stap)
2
3
4
6 function::json_add_array_string_metric - Add a string metric to an
7 array
8
10 json_add_array_string_metric:long(array_name:string,metric_name:string,metric_description:string)
11
13 array_name
14 The name of the array the string metric should be added to.
15
16 metric_name
17 The name of the string metric.
18
19 metric_description
20 Metric description. An empty string can be used.
21
23 This function adds a string metric to an array, setting up everything
24 needed.
25
27 tapset::json(3stap)
28
29
30
31SystemTap Tapset Reference April 2023 FUNCTION::JSON_ADD_A(3stap)