table of contents
other versions
- buster 4.0-1
- buster-backports 4.4-1~bpo10+1
- testing 4.4-2
- unstable 4.4-2
- experimental 4.5-1
MACRO::JSON_OUTPUT_A(3stap) | JSON Tapset | MACRO::JSON_OUTPUT_A(3stap) |
NAME¶
macro::json_output_array_numeric_value - Output a numeric value for metric in an array.SYNOPSIS¶
@json_output_array_numeric_value(array_name,array_index,metric_name,value)
ARGUMENTS¶
array_nameThe name of the array.
array_index
The array index (as a string) indicating where to store
the numeric value.
metric_name
The name of the numeric metric.
value
The numeric value to output.
DESCRIPTION¶
The json_output_array_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 that is in an array. This metric should have been added with json_add_array_numeric_metric.SEE ALSO0¶
tapset::json(3stap)November 2020 | SystemTap Tapset Reference |