function::json_add_array_numeric_metric(3stap)

function::json_add_array_numeric_metric3stap

Add a numeric metric to an array

Usage

    json_add_array_numeric_metric:long(array_name:string,metric_name:string,metric_description:string,metric_units:string)

Arguments

array_name

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

metric_name

The name of the numeric metric.

metric_description

Metric description. An empty string can be used.

metric_units

Metic units. An empty string can be used.

Overview

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

See ALSO0

tapset::json(3stap)

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.