Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

function::json_add_array

Name

function::json_add_array — Add an array

Synopsis

json_add_array:long(name:string,description:string)

Arguments

name
The name of the array.
description
Array description. An empty string can be used.

Description

This function adds a array, setting up everything needed. Arrays contain other metrics, added with json_add_array_numeric_metric or json_add_array_string_metric.