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

NAME function::json_add_string_metric - Add a string metric

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

ARGUMENTS name The name of the string metric.

description Metric description. An empty string can be used.

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

SEE ALSO tapset::json(3stap)

SystemTap Tapset Reference December 2016 FUNCTION::JSON_ADD_S(3stap)