• /
  • ログイン
  • 無料アカウント

withInteractionTracing (Android SDK API)

Syntax

NewRelic.withInteractionTracing(boolean $tracingFlag)

Globally disable/enable interaction tracing.

Requirements

Agent version 5.4.0 or higher.

Description

Use withInteractionTracing() to globally enable or disable interaction traces, which appear on the Interactions page. Ensure you call this before the New Relic agent start call.

重要

Interaction tracing will be disabled after the agent has started. Interactions for any activity or methods executed prior to starting the agent may still appear in the Interactions page.

For general info on using this API, see the Android SDK API usage guide.

Parameters

Parameter

Description

tracingFlag

boolean

Required. Use false to disable interaction tracing. Use true to enable tracing. Tracing is on by default.

Examples

Disable interactions

To turn off all interaction traces collected by the Android agent:

NewRelic.withInteractionTracing(false)

その他のヘルプ

さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:

問題を作成するこのページを編集する
Copyright © 2020 New Relic Inc.