1FUNCTION::JSON_ADD_N(3stap) JSON Tapset FUNCTION::JSON_ADD_N(3stap)
2
3
4
6 function::json_add_numeric_metric - Add a numeric metric
7
9 json_add_numeric_metric:long(name:string,description:string,units:string)
10
12 name
13 The name of the numeric metric.
14
15 description
16 Metric description. An empty string can be used.
17
18 units
19 Metic units. An empty string can be used.
20
22 This function adds a numeric metric, setting up everything needed.
23
25 tapset::json(3stap)
26
27
28
29SystemTap Tapset Reference April 2023 FUNCTION::JSON_ADD_N(3stap)