• /
  • EnglishEspañolFrançais日本語한국어Português
  • 로그인지금 시작하기

Metrics

Metrics methods

Method

Description

nrSendMetric

Record a gauge metric. Represents a value that can increase or decrease with time.

nrSendCountMetric

Record a count metric. Measures the number of occurences of an event during a time interval.

nrSendSummaryMetric

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)
Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.