1MACRO::JSON_OUTPUT_N(3stap)       JSON Tapset      MACRO::JSON_OUTPUT_N(3stap)
2
3
4

NAME

6       macro::json_output_numeric_value - Output a numeric value.
7

SYNOPSIS

9           @json_output_numeric_value(name,value)
10

ARGUMENTS

12       name
13           The name of the numeric metric.
14
15       value
16           The numeric value to output.
17

DESCRIPTION

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

SEE ALSO

24       tapset::json(3stap)
25
26
27
28SystemTap Tapset Reference       October 2018      MACRO::JSON_OUTPUT_N(3stap)
Impressum