概要
Observability Pipelines の New Relic Destination を使用して、ログを New Relic に送信します。
セットアップ
シークレット管理の場合: アカウント ID とライセンスの識別子のみを入力します。実際の値は入力しないでください。
パイプラインをセットアップ する際に、New Relic 送信先を構成します。パイプラインのセットアップは、UI で、API を使用して、または Terraform で行えます。このセクションの手順は UI で構成されます。
パイプライン UI で New Relic 送信先を選択したら、次のようにします。
- アカウント ID の識別子を入力します。空白のままにすると、デフォルトが使用されます。
- ライセンスの識別子を入力します。空白のままにすると、デフォルトが使用されます。
- New Relic アカウントのデータセンター リージョン (US または EU) を選択します。
If you enter secret identifiers and then choose to use environment variables, the environment variable is the identifier entered and prepended with DD_OP_. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.
オプションのバッファリング
Toggle the switch to enable Buffering Options. Enable a configurable buffer on your destination to ensure intermittent latency or an outage at the destination doesn’t create immediate backpressure, and allow events to continue to be ingested from your source. Disk buffers can also increase pipeline durability by writing data to disk, ensuring buffered data persists through a Worker restart. See Destination buffers for more information.
- If left unconfigured, your destination uses a memory buffer with a capacity of 500 events.
- To configure a buffer on your destination:
- Select the buffer type you want to set (Memory or Disk).
- Enter the buffer size and select the unit.
- Maximum memory buffer size is 128 GB.
- Maximum disk buffer size is 5 TB.
- Note: For Worker versions 2.20.x and older, the maximum disk buffer size is 500 GB.
- In the Behavior on full buffer dropdown menu, select whether you want to block events or drop new events when the buffer is full.
シークレットのデフォルト
These are the defaults used for secret identifiers and environment variables.
- New Relic アカウント ID の識別子:
- デフォルトの識別子は
DESTINATION_NEW_RELIC_ACCOUNT_ID です。
- New Relic ライセンスの識別子:
- デフォルトの識別子は
DESTINATION_NEW_RELIC_LICENSE_KEY です。
- New Relic account ID:
- The default environment variable is
DD_OP_DESTINATION_NEW_RELIC_ACCOUNT_ID.
- New Relic license:
- The default environment variable is
DD_OP_DESTINATION_NEW_RELIC_LICENSE_KEY.
送信先の動作
イベントのバッチ処理
イベントのバッチは、次のパラメーターのいずれかが満たされたときにフラッシュされます。詳細については、送信先のイベントのバッチ処理 を参照してください。
| 最大イベント数 | 最大サイズ (MB) | タイムアウト (秒) |
|---|
| 100 | 1 | 1 |