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

NAME

6       macro::json_output_array_numeric_value - Output a numeric value for
7       metric in an array.
8

SYNOPSIS

10           @json_output_array_numeric_value(array_name,array_index,metric_name,value)
11

ARGUMENTS

13       array_name
14           The name of the array.
15
16       array_index
17           The array index (as a string) indicating where to store the numeric
18           value.
19
20       metric_name
21           The name of the numeric metric.
22
23       value
24           The numeric value to output.
25

DESCRIPTION

27       The json_output_array_numeric_value macro is designed to be called from
28       the 'json_data' probe in the user's script to output a metric's numeric
29       value that is in an array. This metric should have been added with
30       json_add_array_numeric_metric.
31

SEE ALSO

33       tapset::json(3stap)
34
35
36
37SystemTap Tapset Reference         May 2022        MACRO::JSON_OUTPUT_A(3stap)
Impressum