Syntax
removeAllAttributes();NewRelic.removeAllAttributes()
Removes all attributes from the session.
Requirements
Compatible with all agent versions.
Description
Removes all attributes from the session.
For context on how to use this API, see the documentation about sending custom attributes and events to Insights for:
Return values
Returns true
if it succeeds, or false
if it doesn't.
Examples
Objective-C
Method:
+ (BOOL) removeAllAttributes();
Example:
BOOL attributesRemoved = NewRelic.removeAllAttributes();
Swift
Method:
NewRelic.removeAllAttributes() -> Bool
Example:
let attributesRemoved = NewRelic.removeAllAttributes()
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。