Syntax
function nrSendMetric(nr as Object, name as String, value as dynamic, attr = invalid as Object) as Void
Description
Record a gauge metric. Represents a value that can increase or decrease with time.
Arguments
Arguments | Description |
---|---|
| New Relic Agent object. |
| Metric name |
| Metric value. Number. |
| (optional) Metric attributes. |
Return
Nothing.
Example
nrSendMetric(m.nr, "test", 11.1, {"one": 1})