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

# [NAME](#NAME)

function::json\_add\_array\_string\_metric - Add a string metric to an array

# [SYNOPSIS](#SYNOPSIS)

```


    json_add_array_string_metric:long(array_name:string,metric_name:string,metric_description:string)
```

# [ARGUMENTS](#ARGUMENTS)

*array\_name*

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

*metric\_name*

The name of the string metric.

*metric\_description*

Metric description. An empty string can be used.

# [DESCRIPTION](#DESCRIPTION)

This function adds a string 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_string_metric(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
