• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

이 한글 문서는 사용자의 편의를 위해 기계 번역되었습니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

레거시 에이전트 버전에 대한 Java 구성 업데이트

문제

Java 에이전트 버전 3.16.1 이하를 사용하고 최신 버전 으로 업그레이드해야 하지만 더 이상 사용되지 않는 구성 옵션을 사용하여 에이전트 속성을 구성합니다.

해결책

newrelic.yml 에서 최신 버전과의 호환성을 위해 사용하는 구성 속성을 편집합니다.

더 이상 사용되지 않는 속성

새 속성

analytics_events

transaction_events

newrelic.yml 구성 파일에서 analytics_events 이라는 섹션은 더 이상 사용되지 않습니다. 대신 transaction_events 섹션을 사용하세요.

capture_params

attributes.include: request.parameters.*

기본적으로 요청 매개변수는 New Relic으로 전송되지 않습니다. 모든 요청 매개변수를 켜려면 attributes.include 목록에 request.parameters.* 을 추가합니다. capture_params 속성은 더 이상 사용되지 않습니다.

ignored_params

attributes.exclude: request.parameters.{name}

각 요청 매개변수 키를 attributes.exclude 목록에 추가합니다. 키 앞에 request.parameters 을 추가해야 합니다. ignored_params 속성은 더 이상 사용되지 않습니다.

capture_messaging_params

attributes.include: message.parameters.*

기본적으로 메시지 대기열 매개변수는 New Relic으로 전송되지 않습니다. 이전에는 capture_messaging_paramstrue 로 설정하면 메시지 대기열 매개변수가 활성화되었습니다. 이제 attributes.include 목록에 message.parameters.* 를 추가해야 합니다.

ignored_messaging_params

attributes.exclude: message.parameters.{name}

이전에는 제외할 메시지 대기열 매개변수 키 목록으로 ignored_messaging_params 을 설정할 수 있었습니다. 이제 각 메시지 대기열 매개변수 키를 attributes.exclude 목록에 추가해야 합니다. 키 앞에 message.parameters 를 추가해야 합니다.

capture_attributes

attributes.enabled

이전 capture_attributes 플래그는 사용자 속성 수집을 끕니다. 이것은 더 이상 사용되지 않습니다. 대신 attributes.enabled 을(를) 사용하십시오.

이 예에서 Java 에이전트는 요청 매개변수를 수집하고 이를 트랜잭션 추적 프로그램 및 오류 수집기 대상에 기록합니다. 이것은 Capture attributes 또는 Capture parameters 에 대한 레거시 서버 측 구성 옵션 을 활성화하는 것을 에뮬레이트합니다.

자바 에이전트 구성 파일에서 attributes 요소를 맞춤설정하려면 다음 안내를 따르세요.

attributes.enabled: true
attributes.include: request.parameters.*
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.