FUNCTION::JSON_ADD_A
Section: JSON Tapset (3stap)
Updated: November 2020
Page Index
NAME
function::json_add_array_string_metric - Add a string metric to an array
SYNOPSIS
json_add_array_string_metric:long(array_name:string,metric_name:string,metric_description:string)
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
This function adds a string metric to an array, setting up everything needed.
SEE ALSO
tapset::json(3stap)