애플리케이션과 인프라를 파악하는 것은 성능과 안정성을 유지하는 데 매우 중요합니다. 따라서 Google Distributed Cloud (GDC) 에어 갭은 측정항목을 수집하고 분석하는 모니터링 플랫폼을 제공합니다.
GDC 모니터링 플랫폼을 사용하면 배포된 워크로드에서 측정항목을 수집하고 쿼리할 수 있습니다. 모니터링 플랫폼의 기본 제공 관측 가능성 도구를 사용하여 시스템을 모니터링하고 시각화할 수 있습니다.
측정항목을 효과적으로 수집하고 쿼리하면 오프라인 환경에 관한 유용한 정보를 얻고 워크로드의 최적 성능을 보장할 수 있습니다.
주요 개념
GDC 모니터링 플랫폼에는 다음과 같은 개념이 도입되었습니다.
측정항목은 GDC 워크로드에서 수집된 정량적 측정값으로, 리소스 사용률과 성능에 관한 유용한 정보를 제공합니다. GDC는 이 용도로 Prometheus를 사용합니다. Prometheus는 효율적이고 안정적인 데이터 수집을 보장하는 오픈소스 모니터링 시스템입니다.
대시보드는 추세와 시스템 동작을 관찰하기 위한 측정항목의 시각적 표현입니다. GDC 프로젝트에는 측정항목 시각화를 위한 전용 Grafana 인스턴스가 포함되어 있습니다. Grafana는 유용한 대시보드를 만들고 측정항목 데이터를 탐색할 수 있는 분석 플랫폼입니다. GDC는 표준 구성요소용으로 사전 빌드된 대시보드를 제공하여 환경을 즉시 파악할 수 있도록 지원합니다.
모니터링 워크플로
구성요소의 모니터링 프로세스를 용이하게 하기 위해 GDC 모니터링 플랫폼은 다음 워크플로에서 작동합니다.
측정항목 수집: GDC 환경이 실행되면 핵심 구성요소의 측정항목이 자동으로 수집되어 사전 구성된 Grafana 대시보드에 표시됩니다. 이 기능은 즉각적인 네트워크 및 서버 모니터링을 제공합니다.
수집할 워크로드별 측정항목과 수집 빈도를 정의하는 커스텀 리소스를 배포하여 자체 애플리케이션 및 서비스의 스크래핑 타겟을 구성할 수도 있습니다.
측정항목 쿼리: PromQL(Prometheus 쿼리 언어)을 사용하여 수집된 측정항목을 쿼리할 수 있습니다. 측정항목을 쿼리하면 다음 작업을 할 수 있습니다.
라벨과 값을 기준으로 측정항목을 필터링합니다.
시간 경과에 따라 데이터를 집계합니다.
측정항목 값에 대한 계산을 수행합니다.
대시보드 빌드 및 측정항목 시각화: Grafana를 사용하여 측정항목을 시각화하는 맞춤 대시보드를 빌드합니다. 이러한 대시보드는 시스템 성능을 명확하고 포괄적으로 보여주므로 다음 작업을 할 수 있습니다.
추세와 이상치를 파악합니다.
문제를 효과적으로 해결합니다.
리소스 할당 및 최적화에 대해 정보에 입각한 결정을 내립니다.
측정항목 보관
보관 정책은 측정항목과 로그가 저장되는 기간을 정의합니다. 이러한 정책은 규정 준수 요구사항을 충족하고 운영 분석을 지원하는 데 매우 중요합니다.
GDC는 보관 기간을 사용하여 측정항목의 수명 주기 및 보관 정책을 설정합니다. 시스템은 측정항목 보관 기간에 기본값인 90일을 적용합니다.
액세스 방법
구성요소 측정항목을 사용하여 작업할 수 있는 액세스 방법은 다음과 같습니다.
Grafana 사용자 인터페이스: GDC 콘솔을 통해 또는 URL을 직접 사용하여 프로젝트의 Grafana 인스턴스에 액세스할 수 있습니다. 사용자 인터페이스를 사용하면 측정항목을 쿼리하고 시각화할 수 있습니다.
HTTP API: HTTP API를 사용하여 프로그래매틱 방식으로 측정항목 데이터를 가져옵니다.
이 방법을 사용하면 외부 도구 및 자동화 스크립트와 통합할 수 있습니다.
추가 자료
GDC 구성요소에서 수집된 모든 측정항목의 자세한 설명은 측정항목의 전체 목록을 참고하세요. 이 리소스는 유용한 컨텍스트를 제공하고 고급 모니터링 전략을 지원합니다.
[[["이해하기 쉬움","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-04(UTC)"],[[["\u003cp\u003eGoogle Distributed Cloud (GDC) air-gapped offers a monitoring platform that allows you to collect and query metrics from your deployed workloads to help maintain performance and stability.\u003c/p\u003e\n"],["\u003cp\u003eThe GDC monitoring platform uses Prometheus for metrics collection and Grafana for visualization, providing prebuilt dashboards for core components and allowing custom dashboard creation.\u003c/p\u003e\n"],["\u003cp\u003eThe monitoring workflow involves collecting metrics automatically from core components and allowing custom targets, querying metrics using PromQL for filtering and calculations, and visualizing metrics through Grafana dashboards.\u003c/p\u003e\n"],["\u003cp\u003eMetrics are retained for 90 days by default, and access is available through the Grafana user interface or programmatically via an HTTP API.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access a comprehensive list of metrics collected from GDC components to enhance their monitoring strategies and gain valuable context.\u003c/p\u003e\n"]]],[],null,["# Monitoring overview\n\nGaining visibility into your applications and infrastructure is crucial for\nmaintaining performance and stability. Therefore, Google Distributed Cloud (GDC) air-gapped\nprovides a monitoring platform for collecting and analyzing your metrics.\n\nThe GDC monitoring platform lets you collect and query\nmetrics from your deployed workloads. You can monitor and visualize your systems\nusing built-in observability tools from the monitoring platform.\n\nBy effectively collecting and querying metrics, you can gain valuable insights\ninto your air-gapped environment and ensure the optimal performance of your\nworkloads.\n\nKey concepts\n------------\n\nThe GDC monitoring platform introduces the following\nconcepts:\n\n- **Metrics** are quantitative measurements collected from your\n GDC workloads that provide valuable insights into\n resource utilization and performance. GDC uses\n Prometheus for this purpose. Prometheus is an open-source monitoring system\n that ensures efficient and reliable data collection.\n\n- **Dashboards** are visual representations of your metrics to observe trends\n and system behaviour. Your GDC project includes a\n dedicated Grafana instance for metrics visualization. Grafana is an\n analytics platform that lets you create insightful dashboards and explore\n your metrics data. GDC provides prebuilt dashboards\n for standard components, offering immediate visibility into your\n environment.\n\nMonitoring workflow\n-------------------\n\nTo facilitate the monitoring processes of your components, the\nGDC monitoring platform operates in the following\nworkflow:\n\n1. **Collect metrics:** When your GDC environment is up\n and running, metrics from core components are automatically collected and\n displayed in pre-configured Grafana dashboards. This feature provides\n immediate network and server monitoring.\n\n You can also configure scraping targets for your own applications and\n services by deploying custom resources that define workload-specific metrics\n to collect and the collection frequency.\n2. **Query metrics:** You can query your collected metrics using PromQL\n (Prometheus Query Language). Querying metrics lets you do the following:\n\n - Filter metrics based on labels and values.\n - Aggregate data over time.\n - Perform calculations on metric values.\n3. **Build dashboards and visualize metrics:** Use Grafana to build custom\n dashboards that visualize your metrics. These dashboards provide a clear and\n comprehensive view of your system's performance, enabling you to do the\n following:\n\n - Identify trends and anomalies.\n - Troubleshoot issues effectively.\n - Make informed decisions about resource allocation and optimization.\n\nMetrics retention\n-----------------\n\nRetention policies define how long metrics and logs are stored. These policies\nare crucial for meeting compliance requirements and supporting operational\nanalysis.\n\nGDC uses retention times to set up lifecycle and\nretention policies for metrics. The system applies a default value of 90\ndays for metrics retention times.\n\nAccess methods\n--------------\n\nThe following access methods are available to operate with component metrics:\n\n- **Grafana user interface:** You can access your project's Grafana instance through the GDC console or directly using its URL. The user interface lets you query and visualize metrics.\n- **HTTP API:** Programmatically retrieve metrics data using the HTTP API. This method enables integration with external tools and automation scripts.\n\nFurther resources\n-----------------\n\nConsult [the comprehensive list of metrics](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/metrics-overview)\nfor detailed descriptions of all collected metrics from\nGDC components. This resource provides valuable context\nand facilitates advanced monitoring strategies."]]