---
name: "macro::json_output_numeric_value"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/macro::json_output_numeric_value"
---

# macro::json\_output\_numeric\_value(3stap)

Output a numeric value.

## NAME

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

## SYNOPSIS

```
    @json_output_numeric_value(name,value)
```

## ARGUMENTS

*name*

The name of the numeric metric.

*value*

The numeric value to output.

## 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

[*tapset::json*(3stap)](/tapset::json/3stap.md)
