MACRO::JSON_OUTPUT_N

Section: JSON Tapset (3stap)
Updated: November 2020
Page Index
 

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 ALSO

tapset::json(3stap)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO