• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

nrSendSummaryMetric

Syntax

function nrSendSummaryMetric(nr as Object, name as String, interval as Integer, counter as dynamic, m_sum as dynamic, m_min as dynamic, m_max as dynamic, attr = invalid as Object) as Void

Description

Record a summary metric. Used to report pre-aggregated data, or information on aggregated discrete events.

Arguments

Arguments

Description

nr

New Relic Agent object.

name

Metric name

interval

Metric time interval in milliseconds.

count

Metric count.

m_sum

Metric value summation.

m_min

Metric minimum value.

m_max

Metric maximum value.

attr

(optional) Metric attributes.

Return

Nothing.

Example

nrSendSummaryMetric(m.nr, "test", 2000, 5, 1000, 100, 200)
Copyright © 2025 New Relic Inc.

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