에이전트의 텔레메트리 데이터를 처리하는 게이트웨이의 경우 데이터를 뉴렐릭으로 직접 라우팅하는 대신 게이트웨이 클러스터로 라우팅하도록 에이전트를 재구성해야 합니다. 그렇게 하려면 샘플 뉴렐릭 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*'    ]  }}지원되는 데이터 소스
다음 표는 게이트웨이에서 지원되는 데이터 소스를 나열합니다. 게이트웨이 기능에 대한 지원은 일반적인 뉴렐릭 수명 종료(EOL) 정책 이나 해당 에이전트별 EOL 정책을 재정의하지 않습니다.
에이전트 언어  | 사용 가능한 버전  | 
|---|---|
8.17.438 이상  | |
2.2.0 이상  | |
4.9.0 이상  | |
6.10.0 이상  | |
10.0.0 이상  | |
4.10.0 이상  | |
6.1.0 그리고 나중에  | 
나열된 버전은 각 언어에서 사용 가능한 범위를 나타냅니다. 자세한 버전 정보는 해당 에이전트 설명서를 참조하세요.