DOKK / manpages / debian 12 / systemtap-doc / function::json_add_string_metric.3stap.en
FUNCTION::JSON_ADD_S(3stap) JSON Tapset FUNCTION::JSON_ADD_S(3stap)

function::json_add_string_metric - Add a string metric


json_add_string_metric:long(name:string,description:string)

name

The name of the string metric.

description

Metric description. An empty string can be used.

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

tapset::json(3stap)

November 2022 SystemTap Tapset Reference