removeAllAttributes

NewRelic.removeAllAttributes ()
Removes all attributes from the session.

Requirements

Agent version 5.0.0 or higher.

Description

Removes all attributes from the session.

For context on how to use this API, see Send custom attributes and events to Insights.

Return value(s)

Returns true if it succeeds, or false if it doesn't.

Example(s)

Remove all attributes

boolean attributesRemoved = NewRelic.removeAllAttributes();

For more help

Recommendations for learning more: