logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

macro::json_output_array_string_value - Output a string value for metric in an array.

Arguments

array_name
           The name of the array.

       array_index
           The array index (as a string) indicating where to store the string value.

       metric_name
           The name of the string metric.

       value
           The string value to output.

Description

       The json_output_array_string_value macro is designed to be called from the 'json_data' probe in the
       user's script to output a metric's string value that is in an array. This metric should have been added
       with json_add_array_string_metric.

Name

       macro::json_output_array_string_value - Output a string value for metric in an array.

See Also

tapset::json(3stap)

SystemTap Tapset Reference                         April 2024                        MACRO::JSON_OUTPUT_A(3stap)

Synopsis

           @json_output_array_string_value(array_name,array_index,metric_name,value)

See Also