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

Ruby agent attributes

Attributes are key-value pairs containing information that determines the properties of an event or transaction. These key-value pairs can be viewed within transaction traces in APM, traced errors in APM, transaction events in dashboards, and page views in dashboards. You can customize exactly which attributes will be sent to each of these destinations.

These attribute settings apply to version 3.12.0 or higher of the Ruby agent.

Ruby agent attributes

The following table lists the attributes that can be automatically captured by the Ruby agent:

Adding custom attributes

To capture additional custom attributes from your application, use NewRelic::Agent.add_custom_attributes. For full reference see Collecting custom attributes. Defaults:

  • Transaction traces: Enabled
  • Error collector (traced errors): Enabled
  • Transaction events: Enabled
  • Page views (browser monitoring): Disabled

注意

If you want to use your custom parameters or attributes in Insights, avoid using any of the reserved terms used by NRQL for naming them.

Upgrading the Ruby agent

When upgrading to Ruby agent 3.12.0 or higher, upgrade your newrelic.yml configuration.

For more help

Additional documentation resources include:

その他のヘルプ

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

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