HTTP 프록시 전달을 사용 설정할 때는 여러 머신이 외부 서버로 요청을 전송하는 단일 지점을 만듭니다. 기업 프록시나 방화벽 뒤에 있는 경우 Apigee가 기본 설정으로 Cloud Monitoring에 측정항목을 전송하지 못할 수 있습니다. OpenTelemetry 수집기에서 직접 설정을 설정하고 수정하여 요청이 프록시 서버를 통과하도록 할 수 있습니다.
이 주제에서는 사용 가능한 세 가지 환경 변수 중 하나를 사용하여 OpenTelemetry 수집기 설정을 구성하는 방법을 설명합니다.
NO_PROXY: HTTP 프록시를 통해 트래픽이 흐르지 않아야 하는 호스트 이름 또는 IP 주소의 목록을 허용합니다.
HTTP_PROXY: HTTP 연결에 사용되는 서버가 있는 프록시의 URL을 허용합니다.
HTTPS_PROXY: HTTPS 연결에 사용되는 서버가 있는 프록시의 URL을 허용합니다.
OpenTelemetry 수집기 설정 구성
overrides.yaml의 metrics.collector.envVars 속성을 사용하여 HTTP 프록시 전달과 함께 작동하도록 OpenTelemetry 수집기 설정을 구성할 수 있습니다. metrics.collector.envVars 속성을 사용하면 OpenTelemetry에서 지원되는 환경 변수를 전달할 수 있습니다. 자세한 내용은 OpenTelemetry 문서의 프록시 지원을 참고하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-27(UTC)"],[[["Enabling HTTP proxy forwarding creates a single point for multiple machines to send requests to an external server, which can impact Apigee's ability to send metrics to Cloud Monitoring behind a corporate proxy or firewall."],["You can configure OpenTelemetry collector settings to work with HTTP proxy forwarding by using the `metrics.collector.envVars` property in `overrides.yaml` to set environment variables."],["The `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` environment variables are used to specify the proxy URL for HTTP and HTTPS connections, and a list of hostnames or IPs that should bypass the proxy respectively."],["Changes to the OpenTelemetry collector settings can be applied using the `helm upgrade telemetry` command with the `apigee-telemetry` chart, or by using `helm install telemetry` if no release exists."]]],[]]