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

NAME

6       macro::json_output_string_value - Output a string value.
7

SYNOPSIS

9           @json_output_string_value(name,value)
10

ARGUMENTS

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

DESCRIPTION

19       The json_output_string_value macro is designed to be called from the
20       'json_data' probe in the user's script to output a metric's string
21       value. This metric should have been added with json_add_string_metric.
22

SEE ALSO

24       tapset::json(3stap)
25
26
27
28SystemTap Tapset Reference       November 2022     MACRO::JSON_OUTPUT_S(3stap)
Impressum