에이전트의 텔레메트리 데이터를 처리하는 게이트웨이의 경우 데이터를 뉴렐릭으로 직접 라우팅하는 대신 게이트웨이 클러스터로 라우팅하도록 에이전트를 재구성해야 합니다. 그렇게 하려면 샘플 뉴렐릭 NodeJS 에이전트 설정에 표시된 대로 NEW_RELIC_HOST 설정을 사용하여 엔드포인트 세부정보가 게이트웨이를 가리키도록 변경하세요.
'use strict'/** * New Relic agent configuration. * * See lib/config/default.js in the agent distribution for a more complete * description of configuration variables and their potential values. */exports.config = { /** * Array of application names. */ app_name: ['My Application'], /** * Your New Relic Host endpoint. */ NEW_RELIC_HOST: 'GATEWAY_DNS_ENDPOINT_HERE', /** * Your New Relic license key. */ license_key: 'license key here', logging: { /** * Level at which to log. 'trace' is most useful to New Relic when diagnosing * issues with the agent, 'info' and higher will impose the least overhead on * production applications. */ level: 'info' }, /** * When true, all request headers except for those listed in attributes.exclude * will be captured for all traces, unless otherwise specified in a destination's * attributes include/exclude lists. */ allow_all_headers: true, attributes: { /** * Prefix of attributes to exclude from all destinations. Allows * as wildcard * at end. * * NOTE: If excluding headers, they must be in camelCase form to be filtered. * * @name NEW_RELIC_ATTRIBUTES_EXCLUDE */ exclude: [ 'request.headers.cookie', 'request.headers.authorization', 'request.headers.proxyAuthorization', 'request.headers.setCookie*', 'request.headers.x*', 'response.headers.cookie', 'response.headers.authorization', 'response.headers.proxyAuthorization', 'response.headers.setCookie*', 'response.headers.x*' ] }}호환성 매트릭스: 지원되는 에이전트 및 버전
다음 표에는 게이트웨이와 함께 사용할 수 있도록 지원되는 뉴렐릭 APM 에이전트, 에이전트 에이전트 및 권고 수집기가 나열되어 있습니다. 게이트웨이 기능 지원이 일반적인 뉴렐릭 제품 수명 종료(EOL) 정책 이나 적용 가능한 제품별 EOL 정책을 재정의하지 않는다는 점에 유의하십시오.
에이전트 유형/언어 | 사용 가능한 버전 |
|---|---|
뉴렐릭 APM 에이전트 | 언어별 버전은 아래를 참조하세요. |
8.17.438 이상 | |
2.2.0 이상 | |
4.9.0 이상 | |
6.10.0 이상 | |
10.0.0 이상 | |
4.10.0 이상 | |
6.1.0 그리고 나중에 | |
1.62.0 이상 버전 | |
버전 3.33.2 이상 | |
2.3.0 이상 버전 | |
없음 |
나열된 버전은 각 언어에서 사용 가능한 범위를 나타냅니다. 자세한 버전 정보는 해당 에이전트 설명서를 참조하세요.