Skip to main content

api.sendMetric

api.sendMetric(ci, element, elementtype, metrictype, value)

Description

Sends a normalized metric message (NormalizedMetric message type).

Parameters

ParameterTypeExplanation
ciStringFills in the ci/name field
elementStringFills in the ci/element field
citypeStringFills in the ci/type field
metrictypeStringFills in the metric/type field
valuedoubleFills in the metric/value field

Example

api.sendMetric("ci", "mount point", "disk", "space", 16)