Apigee Hybrid 측정항목 수집은 기본적으로 사용 중지되어 있습니다. 하이브리드가 Stackdriver에 수집된 측정항목 데이터를 전송할 수 있도록 재정의 파일에 몇 가지 구성 속성을 제공해야 합니다.
필수 구성
Apigee 하이브리드가 수집된 측정항목 데이터를 Stackdriver에 전송하도록 하려면 재정의 파일에 다음 구성 설정을 제공해야 합니다.
...
# gcpProjectID: project_ID # Deprecated.
gcp: # v1.2.0 and later: Use this element instead of gcpProjectID.
region: gcp-region
projectID: gcp-project-id
metrics:
enabled: true
serviceAccountPath: service_account_file
각 항목의 의미는 다음과 같습니다.
gcpProjectID는 apigee-logger와 apigee-metrics가 데이터를 푸시하는 Google Cloud 프로젝트를 식별합니다.
gcp-region은 apigee-logger와 apigee-metrics가 데이터를 푸시하는 GCP 리전을 식별합니다.
gcp-project-id는 apigee-logger와 apigee-metrics가 데이터를 푸시하는 Google Cloud 프로젝트를 식별합니다.
serviceAccountPath는 Apigee Hybrid 설치 절차 중 다운로드한 GCP 서비스 계정 키 파일의 파일 시스템에 있는 경로입니다.
키와 연결된 서비스 계정에 Monitoring 측정항목 작성자 역할이 있어야 합니다. 서비스 계정 만들기에 대한 자세한 내용은 5단계: 서비스 계정 추가를 참조하세요.
예:
...
# gcpProjectID: acme-hybrid # Deprecated
gcp: # v1.2.0 and later: Use this element instead of gcpProjectID.
region: us-central1
projectID: acme-project
metrics:
enabled: true
serviceAccountPath: ./service-accounts/metrics-sa.json
[[["이해하기 쉬움","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-04-01(UTC)"],[[["Version 1.2 of the Apigee hybrid documentation is end of life, and users should upgrade to a newer version."],["Apigee hybrid metrics collection is disabled by default and requires specific configuration properties in the overrides file to enable sending data to Stackdriver."],["Enabling metrics requires setting `metrics: enabled` to `true` and providing the correct `gcp: region`, `gcp: projectID`, and `serviceAccountPath` within the overrides file."],["To disable metrics collection, you must set `metrics: enabled` to `false` in your overrides file and apply the change to your cluster."]]],[]]