OS Manuals

function::json_add_array_string_metric(3stap)

function::json_add_array_string_metric - Add a string metric to an array

FUNCTION::JSON_ADD_A(3stap) JSON Tapset FUNCTION::JSON_ADD_A(3stap)

function::json_add_array_string_metric - Add a string metric to an array


json_add_array_string_metric:long(array_name:string,metric_name:string,metric_description:string)

array_name

The name of the array the string metric should be added to.

metric_name

The name of the string metric.

metric_description

Metric description. An empty string can be used.

This function adds a string metric to an array, setting up everything needed.

tapset::json(3stap)

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r1 · enterprise-packages · ingested 2026-10-14