DOKK / manpages / debian 10 / systemtap-doc / function::json_add_numeric_metric.3stap.en
FUNCTION::JSON_ADD_N(3stap) JSON Tapset FUNCTION::JSON_ADD_N(3stap)

function::json_add_numeric_metric - Add a numeric metric


json_add_numeric_metric:long(name:string,description:string,units:string)

name

The name of the numeric metric.

description

Metric description. An empty string can be used.

units

Metic units. An empty string can be used.

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

tapset::json(3stap)

October 2018 SystemTap Tapset Reference