Home > Configuration > Metrics > setmetricsprofile_schemafile

setmetricsprofile_schemafile

Use this method to set this option is for configuring json schema file containing a list of counters to be exported by metricscollector. Schema file should be present under /var/metrics_conf path

Syntax



Parameters

name

Name for the metrics profile. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters.!.
This is mandatory parameter.

schemafile

This option is for configuring json schema file containing a list of counters to be exported by metricscollector. Schema file should be present under /var/metrics_conf path
Default value = NS_S_ANALYTICS_DEFAULT_SCHEMA_FILE.

Return Value

Returns simpleResult

See Also