gcpProjectID: GCP 프로젝트 ID입니다. 측정항목 데이터는 해당 프로젝트의 Stackdriver 인스턴스로 전송됩니다.
k8sClusterName: 하이브리드 런타임이 설치된 Kubernetes 클러스터의 이름입니다.
serviceAccountPath는 Apigee Hybrid 설치 절차 중 다운로드한 GCP 서비스 계정 키 파일의 파일 시스템에 있는 경로입니다.
키와 연결된 서비스 계정에 Monitoring 측정항목 작성자 역할이 있어야 합니다. 서비스 계정 만들기에 대한 자세한 내용은 5단계: 서비스 계정 추가를 참조하세요.
[[["이해하기 쉬움","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-09-05(UTC)"],[[["\u003cp\u003eThe current Apigee hybrid documentation version (1.1) is end-of-life and an upgrade to a newer version is required.\u003c/p\u003e\n"],["\u003cp\u003eApigee hybrid metrics collection is disabled by default and must be explicitly enabled through configuration.\u003c/p\u003e\n"],["\u003cp\u003eEnabling metrics collection requires specifying the GCP project ID, Kubernetes cluster name, and the path to a service account key file with the Monitoring Metrics Writer role in the overrides file.\u003c/p\u003e\n"],["\u003cp\u003eMetrics collection can be disabled by setting the \u003ccode\u003emetrics.enabled\u003c/code\u003e property to \u003ccode\u003efalse\u003c/code\u003e in the overrides file.\u003c/p\u003e\n"]]],[],null,["# Configure metrics collection\n\n| You are currently viewing version 1.1 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\n\nApigee hybrid metrics collection is disabled by default; you must provide\na few configuration properties in your overrides file to enable hybrid\nto send the collected metrics data to\n[Stackdriver](https://cloud.google.com/monitoring/kubernetes-engine/).\n\nRequired configuration\n----------------------\n\n\nTo enable Apigee hybrid to send collected metrics data to [Stackdriver](https://cloud.google.com/monitoring/kubernetes-engine/),\nyou must provide these configuration settings in your overrides\nfile: \n\n```\n...\ngcpProjectID: project_ID\nk8sClusterName: cluster_name\n...\nmetrics:\n enabled: true\n serviceAccountPath: service_account_file\n```\n\n\nWhere:\n\n- `gcpProjectID` is a GCP project ID. Metrics data will be sent to the Stackdriver instance in that project.\n- `k8sClusterName` is the name of the Kubernetes cluster where the hybrid runtime is installed.\n- `serviceAccountPath` is the path on your filesystem to the GCP service account key file that was downloaded during the Apigee hybrid [installation procedure](/apigee/docs/hybrid/v1.1/precog-overview). The service account associated with the key must have the **Monitoring Metrics Writer** role. For details on creating service accounts, see [Step 5: Add service\n accounts](/apigee/docs/hybrid/v1.1/precog-serviceaccounts).\n\n\nExample: \n\n```\n...\ngcpProjectID: acme-hybrid\nk8sClusterName: acme-hybrid\n...\nmetrics:\n enabled: true\n serviceAccountPath: ./service-accounts/metrics-sa.json\n```\n\nHow to disable metrics collection\n---------------------------------\n\nTo disable metrics collection, add the following configuration to your overrides and apply it\nto the cluster:\n\n```text\n...\nmetrics:\n enabled: false\n...\n```"]]