여기에서는 Python 에이전트 속성 을 활성화 또는 비활성화하는 구성 설정과 대상 에 대해 포함하거나 제외할 속성을 결정할 때 에이전트가 사용하는 규칙에 대해 설명합니다.
여기에는 에이전트 속성 릴리스와 함께 더 이상 사용되지 않는 Python 에이전트 구성 설정 의 요약도 포함됩니다.
구성 설정 속성 컬렉션에 대한 대상을 열거나 닫으려면 다음 대상 설정을 사용하십시오.
transaction_tracer.attributes.enabled 트랜잭션 추적에 대한 모든 속성을 켜거나 끕니다. attributes.enabled
이 false
이면 이 구성 설정이 어떻게 설정되었는지에 관계없이 속성이 트랜잭션 추적으로 전송되지 않습니다.
error_collector.attributes.enabled 추적된 오류에 대한 모든 속성을 켜거나 끕니다. attributes.enabled
이 false
이면 이 구성 설정이 어떻게 설정되었는지에 관계없이 추적된 오류에 속성이 전송되지 않습니다.
transaction_events.attributes.enabled 트랜잭션 이벤트에 대한 모든 속성을 켜거나 끕니다. attributes.enabled
이 false
이면 이 구성 설정이 어떻게 설정되었는지에 관계없이 트랜잭션 이벤트에 속성이 전송되지 않습니다.
browser_monitoring.attributes.enabled 에 대한 모든 속성을 켜거나 끕니다. 브라우저 모니터링 . 이는 PageView 대상으로 전송되는 데이터입니다. attributes.enabled
false
인 경우 이 구성 설정이 어떻게 설정되었는지에 관계없이 브라우저 모니터링에 속성이 전송되지 않습니다.
다음 속성/대상별 .include
또는 .exclude
설정을 사용하여 특정 대상에서 특정 속성을 추가하거나 제거합니다.
속성.포함 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
속성이 활성화되면 이 목록의 모든 속성 키가 전송됩니다.
속성.제외 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
이 목록의 모든 속성 키는 전송 되지 않습니다 .
transaction_tracer.attributes.include 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
트랜잭션 추적에 대해 속성이 활성화된 경우 이 목록의 모든 속성 키가 트랜잭션 추적으로 전송됩니다.
transaction_tracer.attributes.exclude 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
이 목록의 모든 속성 키는 트랜잭션 추적으로 전송 되지 않습니다 .
error_collector.attributes.include 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
추적된 오류에 대해 속성이 활성화된 경우 이 목록의 모든 속성 키는 추적된 오류로 전송됩니다.
error_collector.attributes.exclude 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
이 목록의 모든 속성 키는 추적된 오류로 전송 되지 않습니다 .
transaction_events.attributes.include 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
트랜잭션 이벤트에 대해 속성이 활성화된 경우 이 목록의 모든 속성 키가 트랜잭션 이벤트로 전송됩니다.
transaction_events.attributes.exclude 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
이 목록의 모든 속성 키는 트랜잭션 이벤트에서 전송 되지 않습니다 .
browser_monitoring.attributes.include 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
browser_monitoring
에 대해 속성이 활성화된 경우 이 목록의 모든 속성 키는 페이지 보기에서 전송됩니다.
browser_monitoring.attributes.exclude 유형:
공백으로 구분된 문자열 목록
기본:
(없음)
이 목록에 있는 모든 속성 키는 페이지 보기에서 전송 되지 않습니다 .
속성 규칙 에이전트는 대상에 대해 포함하거나 제외할 속성을 결정할 때 다음 규칙을 따릅니다.
활성화된 경우 루트 수준이 우선합니다. attributes.enabled
필드는 다른 모든 설정보다 우선합니다. false
일 때 속성이 보고되지 않습니다.
구성 예:
attributes.enabled = false
attributes.include = foo bar
transaction_tracer.attributes.enabled = true
출력 예:
Keys passed in: foo, bar, baz
Keys included for all destinations:
Keys excluded for all destinations: foo, bar, baz
활성화된 대상은 포함 및 제외보다 우선합니다. YOUR_DESTINATION.attributes.enabled
플래그는 포함 및 제외 키보다 우선합니다.
구성 예:
transaction_tracer.attributes.enabled = false
attributes.include = one two
transaction_tracer.attributes.include = three four
출력 예:
Keys passed in: one, two, three, four
Keys included for transaction traces:
Keys excluded for transaction traces: one, two, three, four
대상이 활성화된 경우 속성이 포함됩니다. 대상이 활성화되면 모든 사용자 속성이 기본적으로 해당 대상으로 전송됩니다.
모든 사용자 속성의 기본값은 true
입니다. 그러나 기본적으로 모든 대상에 대해 요청 매개변수가 비활성화되어 있습니다.
구성 예:
attributes.enabled = true
출력 예:
Keys passed in: foo, bar, baz
제외는 항상 포함을 대체합니다. 동일한 키가 포함 및 제외 목록에 나열되면 지정된 키가 있는 속성이 제외됩니다.
구성 예:
attributes.enabled = true
attributes.include = foo bar
attributes.exclude = nerd bar
출력 예:
Keys passed in: foo, bar, nerd
키는 대소문자를 구분합니다. 키는 대소문자를 구분합니다.
구성 예:
attributes.enabled = true
attributes.exclude = username UsErNaMe
출력 예:
Keys passed in: username, Username, USERNAME, UsErNaMe, userNAME
Keys included: Username, USERNAME, userNAME
Keys excluded: username, UsErNaMe
와일드카드에는 \*
을 사용합니다. 키 끝에 별표 *
를 와일드카드로 사용할 수 있습니다. 이것은 동일한 접두사를 가진 속성 집합과 일치합니다.
구성 예:
attributes.enabled = true
attributes.include = custom*
attributes.exclude = request.parameters.*
출력 예:
Keys passed in: custom, custom.key1, custom.key2, request.parameters., request.parameters.foo, request.parameters.bar
Keys included: custom, custom.key1, custom.key2
Keys excluded: request.parameters., request.parameters.foo, request.parameters.bar
키에 대한 가장 구체적인 설정이 우선합니다. 여러 포함 또는 제외 속성이 동일한 키에 영향을 미치는 경우 가장 구체적인 설정이 우선합니다.
구성 예:
attributes.enabled = true
attributes.include = request.parameters.foo
attributes.exclude = request.parameters.*
출력 예:
Keys passed in: request.parameters., request.parameters.foo, request.parameters.bar
Keys included: request.parameters.foo
Keys excluded: request.parameters., request.parameters.bar
포함 또는 제외는 특정 대상에 영향을 줍니다. 포함 또는 제외 속성이 대상에 지정된 경우 해당 대상에만 영향을 줍니다.
구성 예:
transaction_events.attributes.exclude = foo
출력 예:
Keys included for transaction events:
Keys included for other destinations: foo
Keys excluded for transaction events: foo
더 이상 사용되지 않는 구성 설정 다음 구성 설정은 더 이상 사용되지 않습니다. Python 에이전트를 업그레이드할 때 이러한 설정에 대한 새 속성 구성으로 전환합니다.
더 이상 사용되지 않는 설정
새로운 설정
capture_params
attributes.include = request.parameters.*
기본적으로 요청 매개변수는 전송되지 않습니다. 모든 요청 매개변수를 켜려면 attributes.include
목록에 request.parameters.*
을 추가합니다. capture_params
속성은 더 이상 사용되지 않습니다.
ignored_params
attributes.exclude = request.parameters.{name}
각 요청 매개변수 키를 attributes.exclude
목록에 추가합니다. 키 앞에 request.parameters
을 추가해야 합니다. ignored_params
속성은 더 이상 사용되지 않습니다.
analytics_events.enabled
transaction_events.enabled
analytics_events.capture_attributes
transaction_events.capture_attributes
analytics_events.max_samples_stored
transaction_events.max_samples_stored
browser_monitoring.capture_attributes
browser_monitoring.attributes.enabled
error_collector.capture_attributes
error_collector.attributes.enabled
transaction_tracer.capture_attributes
transaction_tracer.attributes.enabled