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

nrSetCustomAttributeList

Syntax

nrSetCustomAttributeList(nr as Object, attr as Object, actionName = "" as String) as Void

Description

Set a custom attribute list to be included in the events.

Arguments

Arguments

Description

nr

New Relic Agent object.

attr

Attribute list, as an associative array.

actionName

(optional) Action where the attribute will be included. Default all actions.

Return

Nothing.

Example

attr = {"key0":"val0", "key1":"val1"}
nrSetCustomAttributeList(m.nr, attr, "CONTENT_HEARTBEAT")
Copyright © 2025 New Relic Inc.

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