Syntaxe
nrSetCustomAttribute(nr as Object, key as String, value as Object, actionName = "" as String) as Void
Description
Définissez un attribut personnalisé à inclure dans l'événement.
Arguments
Arguments | Description |
---|---|
| Nouvel objet Agent Relic. |
| Nom de l'attribut. |
| Valeur d'attribut. |
| (facultatif) Action où l'attribut sera inclus. Par défaut toutes les actions. |
Retour
Rien.
Exemple
nrSetCustomAttribute(m.nr, "myNum", 123, "CONTENT_START") nrSetCustomAttribute(m.nr, "myString", "hello")