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

Java XML instrumentation examples

For your New Relic-monitored Java application, one custom instrumentation method is to use an XML file that lists the methods and classes you want to instrument. This documentation shows an example XML instrumentation file. For more information, see Java instrumentation by XML.

Edit XML file in UI

To edit your XML file directly from the New Relic UI: Go to one.newrelic.com > APM > (select an app) > Settings > Instrumentation. From here you can:

  • Download a sample XML file.
  • Select an edit existing XML file.
  • Search the instrumentation history.

XML file format

The XML file format includes root and child nodes.

注意

Do not instrument all of your methods, as this can lead to a metric grouping issue.

Example

Here is a sample class and an XML file that could be used to instrument that class.

その他のヘルプ

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

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