1MACRO::JSON_OUTPUT_A(3stap) JSON Tapset MACRO::JSON_OUTPUT_A(3stap)
2
3
4
6 macro::json_output_array_string_value - Output a string value for
7 metric in an array.
8
10 @json_output_array_string_value(array_name,array_index,metric_name,value)
11
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 string
18 value.
19
20 metric_name
21 The name of the string metric.
22
23 value
24 The string value to output.
25
27 The json_output_array_string_value macro is designed to be called from
28 the 'json_data' probe in the user's script to output a metric's string
29 value that is in an array. This metric should have been added with
30 json_add_array_string_metric.
31
33 tapset::json(3stap)
34
35
36
37SystemTap Tapset Reference November 2022 MACRO::JSON_OUTPUT_A(3stap)