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

NAME

6       function::json_add_array_numeric_metric - Add a numeric metric to an
7       array
8

SYNOPSIS

10           json_add_array_numeric_metric:long(array_name:string,metric_name:string,metric_description:string,metric_units:string)
11

ARGUMENTS

13       array_name
14           The name of the array the numeric metric should be added to.
15
16       metric_name
17           The name of the numeric metric.
18
19       metric_description
20           Metric description. An empty string can be used.
21
22       metric_units
23           Metic units. An empty string can be used.
24

DESCRIPTION

26       This function adds a numeric metric to an array, setting up everything
27       needed.
28

SEE ALSO

30       tapset::json(3stap)
31
32
33
34SystemTap Tapset Reference         June 2018       FUNCTION::JSON_ADD_A(3stap)
Impressum