• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

문제 신고

스크레이퍼 메트릭 가져오기(Prometheus 통합)

문제

Docker 또는 Kubernetes용 New Relic과 Prometheus OpenMetrics 통합에 대한 스크레이퍼 메트릭을 얻으려고 합니다.

Docker: http://localhost:8080/metrics 엔드포인트를 구성하면 통합에서 자체 측정항목도 스크랩합니다.

Kubernetes: 기본적으로 스크레이퍼는 자체 메트릭도 스크랩합니다.

해결책

스크레이퍼 내부에서 일어나는 일에 대해 자세히 알아보려면 New Relic과 Docker 또는 Kubernetes 통합에 대해 다음 메트릭을 사용하십시오.

미터법

설명

nr_stats_targets

검색자별로 검색된 대상(예: 고정, Kubernetes)입니다.

nr_stats_fetch_errors_total

가져오기를 시도했지만 대상별로 오류가 발생했습니다.

nr_stats_discoveries_total

검색자(예: 고정, Kubernetes)에서 검색을 시도했습니다.

nr_stats_fetches_total

대상에서 시도한 가져오기입니다.

nr_stats_integration_fetch_target_duration_seconds

대상의 메트릭을 가져오는 데 걸린 총 시간(초)입니다.

nr_stats_integration_list_targets_duration_by_kind

리소스 종류 및 검색기(예: Kubernetes Pod, 서비스 등)별로 대상 목록을 가져오는 데 걸리는 총 시간(초)입니다.

nr_stats_integration_payload_size

대상의 페이로드 크기입니다.

nr_stats_integration_process_duration_seconds

통합의 모든 단계를 처리하는 데 소요된 총 시간(초)입니다.

nr_stats_integration_total_executions

통합이 실행된 횟수입니다.

nr_stats_integration_total_payload_size

스크랩된 페이로드의 총 크기입니다.

nr_stats_metrics_total_timeseries

스크랩된 시계열의 총 수입니다.

nr_stats_metrics_total_timeseries_by_target

대상별 총 시계열 수입니다.

nr_stats_metrics_total_timeseries_by_target_type

유형 및 대상별로 스크랩한 메트릭의 총 수입니다.

nr_stats_metrics_total_timeseries_by_type

유형별로 스크랩한 총 측정항목 수입니다.

nr_stats_discovery_errors_total

검색자에 의해 오류가 발생한 검색을 시도했습니다.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.