1MACRO::JSON_OUTPUT_N(3stap) JSON Tapset MACRO::JSON_OUTPUT_N(3stap)
2
3
4
6 macro::json_output_numeric_value - Output a numeric value.
7
9 @json_output_numeric_value(name,value)
10
12 name
13 The name of the numeric metric.
14
15 value
16 The numeric value to output.
17
19 The json_output_numeric_value macro is designed to be called from the
20 'json_data' probe in the user's script to output a metric's numeric
21 value. This metric should have been added with json_add_numeric_metric.
22
24 tapset::json(3stap)
25
26
27
28SystemTap Tapset Reference May 2019 MACRO::JSON_OUTPUT_N(3stap)