Metrics methods
Method | Description |
|---|---|
Record a gauge metric. Represents a value that can increase or decrease with time. | |
Record a count metric. Measures the number of occurences of an event during a time interval. | |
Record a summary metric. Used to report pre-aggregated data, or information on aggregated discrete events. |
Examples
nrSendMetric
nrSendMetric(m.nr, "test", 11.1, {"one": 1})nrSendCountMetric
nrSendCountMetric(m.nr, "test", 250, 1500, {"one": 1})nrSendSummaryMetric
nrSendSummaryMetric(m.nr, "test", 2000, 5, 1000, 100, 200)