MACRO::JSON\_OUTPUT\_N(3stap) JSON Tapset MACRO::JSON\_OUTPUT\_N(3stap)

# [NAME](#NAME)

macro::json\_output\_numeric\_value - Output a numeric value.

# [SYNOPSIS](#SYNOPSIS)

```


    @json_output_numeric_value(name,value)
```

# [ARGUMENTS](#ARGUMENTS)

*name*

The name of the numeric metric.

*value*

The numeric value to output.

# [DESCRIPTION](#DESCRIPTION)

The json\_output\_numeric\_value macro is designed to be called from the 'json\_data' probe in the user's script to output a metric's numeric value. This metric should have been added with **json\_add\_numeric\_metric**.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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