FUNCTION::JSON\_ADD\_A(3stap) JSON Tapset FUNCTION::JSON\_ADD\_A(3stap)

# [NAME](#NAME)

function::json\_add\_array\_numeric\_metric - Add a numeric metric to an array

# [SYNOPSIS](#SYNOPSIS)

```


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

# [ARGUMENTS](#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.

# [DESCRIPTION](#DESCRIPTION)

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

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::json*(3stap)](/man/enterprise-packages/systemtap/tapset::json.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::json_add_array_numeric_metric(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
