사용자의 편의를 위해 제공되는 기계 번역입니다.

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

문제 신고

수정 이메일 설정

에이전트의 텔레메트리 데이터를 처리하는 게이트웨이의 경우 데이터를 뉴렐릭으로 직접 라우팅하는 대신 게이트웨이 클러스터로 라우팅하도록 에이전트를 재구성해야 합니다. 그렇게 하려면 샘플 뉴렐릭 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*'
]
}
}

지원되는 데이터 소스

다음 표에는 게이트웨이에 지원되는 데이터 소스가 나열되어 있습니다.

에이전트 언어

사용 가능한 버전

.그물

8.0.0 - 10.38.0.0

가다

2.2.0 - 3.37.0

자바

4.9.0 - 8.19.0

노드JS

0.0.5 - 12.15.0

PHP

6.4.0 - 11.7.0

파이썬

0.0.0 - 10.7.0

루비

6.1.0 - 9.17.0

나열된 버전은 각 언어에서 사용 가능한 범위를 나타냅니다. 자세한 버전 정보는 해당 에이전트 설명서를 참조하세요.

다음 주제