• /
  • EnglishEspañolFrançais日本語한국어Português
  • Se connecterDémarrer

Cette traduction automatique est fournie pour votre commodité.

En cas d'incohérence entre la version anglaise et la version traduite, la version anglaise prévaudra. Veuillez visiter cette page pour plus d'informations.

Créer un problème

Les attributs personnalisés

Méthodes d'attributs personnalisés

Méthode

Description

nrSetCustomAttribute

Définissez un attribut personnalisé à inclure dans l'événement.

nrSetCustomAttributeList

Définissez une liste d'attributs personnalisés à inclure dans l'événement.

Exemples

nrSetCustomAttribute

nrSetCustomAttribute(m.nr, "myNum", 123, "CONTENT_START")
nrSetCustomAttribute(m.nr, "myString", "hello")

nrSetCustomAttributeList

attr = {"key0":"val0", "key1":"val1"}
nrSetCustomAttributeList(m.nr, attr, "CONTENT_HEARTBEAT")
Droits d'auteur © 2026 New Relic Inc.

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