Scroll to navigation

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 ALSO0

tapset::json(3stap)

May 2021 SystemTap Tapset Reference