로그를 New Relic으로 전송하려면 Observability Pipelines의 New Relic 대상을 사용하세요.
설정
파이프라인 설정 시 New Relic 대상과 환경 변수를 설정하세요. 아래 정보는 파이프라인 UI에서 구성됩니다.
대상 설정
- Select the data center region (US or EU) of your New Relic account.
- Optionally, toggle the switch to enable Buffering Options.
Note: Buffering options is in Preview. Contact your account manager to request access.- If left disabled, the maximum size for buffering is 500 events.
- If enabled:
- Select the buffer type you want to set (Memory or Disk).
- Enter the buffer size and select the unit.
환경 변수 설정
- New Relic account ID:
- Stored in the environment variable
DD_OP_DESTINATION_NEW_RELIC_ACCOUNT_ID.
- New Relic license:
- Stored in the environment variable
DD_OP_DESTINATION_NEW_RELIC_LICENSE_KEY.
대상 작동 방식
이벤트 배치 작업
다음 파라미터 중 하나가 충족되면 이벤트 배치가 플러시됩니다. 자세한 내용은 이벤트 배치 작업을 참고하세요.
| 최대 이벤트 | 최대 바이트 | 시간 초과(초) |
|---|
| 100 | 1,000,000 | 1 |