• English日本語한국어
  • 로그인지금 시작하기

이 한글 문서는 사용자의 편의를 위해 기계 번역되었습니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

Redpanda 통합

Redpanda 대시보드를 사용하면 클러스터 수준 메트릭, Redpanda 예약 그룹, 서비스 오류 및 가동 시간을 추적할 수 있습니다. 인프라 에이전트와 nri-prometheus 통합으로 구축된 Redpanda 대시보드는 nri-prometheus 엔드포인트 스크래핑을 활용하므로 가장 중요한 모든 데이터를 한 곳에서 모두 볼 수 있습니다.

New Relic으로 Redpanda를 설정하면 데이터가 즉시 이와 같은 대시보드에 표시됩니다.

인프라 에이전트 설치

Redpanda 데이터를 New Relic으로 가져오기 전에 인프라 에이전트를 설치한 다음 nri-prometheus를 구성하여 메트릭을 노출해야 합니다.

RedPanda용 nri-prometheus 구성

  1. /etc/newrelic-infra/integrations.dnri-prometheus-config.yml 이라는 파일을 만듭니다.
  2. nri-prometheus-config.yml 파일에 다음 구성을 추가하여 RedPanda 데이터를 스크랩합니다. 구성 파일은 nri-prometheus 리포지토리의 스니펫과 일치해야 합니다.
integrations:
- name: nri-prometheus
config:
# When standalone is set to false, nri-prometheus requires an infrastructure agent to work and send data. Defaults to true
standalone: false
# If using the infrastructure agent, emitters have to include infra-sdk
emitters: infra-sdk
# The name of your cluster. The name of your cluster must be consistent across New Relic products so the infrastructure agent and nri-prometheus can scrape data from the cluster.
cluster_name: "YOUR_EXPORTER_NAME"
targets:
- description: Redpanda metrics are captured in the below urls
urls: ["http://localhost:9644/metrics", "http://localhost:9644/public_metrics"]
# tls_config:
# ca_file_path: "/etc/etcd/etcd-client-ca.crt"
# cert_file_path: "/etc/etcd/etcd-client.crt"
# key_file_path: "/etc/etcd/etcd-client.key"
# Specifies whether or not the integration should run in verbose mode. Defaults to false.
verbose: false
# Specifies whether or not the integration should run in audit mode. Defaults to false.
# Audit mode logs the uncompressed data sent to New Relic. Use this to log all data sent.
# It does not include verbose mode. This can lead to a high log volume, use with care.
audit: false
# The HTTP client timeout when fetching data from endpoints. Defaults to "5s" if it's not set.
# scrape_timeout: "5s"
# Length in time to distribute the scraping from the endpoints. Default to "30s" if it's not set.
scrape_duration: "5s"
# Number of worker threads used for scraping targets.
# For large clusters with many (>400) endpoints, slowly increase until scrape
# time falls between the desired `scrape_duration`.
# Increasing this value too much will result in huge memory consumption if too
# many metrics are being scraped.
# Default: 4
# worker_threads: 4
#Specifies whether or not the integration should skip TLS verification. Defaults to false.
insecure_skip_verify: false
timeout: 10s

RedPanda 메트릭을 대시보드로 가져오기

Redpanda 빠른 시작을 설치하면 New Relic에서 중요한 Redpanda 데이터를 볼 수 있습니다. 데이터가 보고되는지 확인하려면:

  1. one.newrelic.com 으로 이동합니다. 그런 다음 측정항목 및 이벤트를 클릭합니다.
  2. 다음 NRQL 쿼리를 실행합니다: FROM Metric SELECT latest(vectorized_application_uptime) .
  3. New Relic이 Redpanda 메트릭을 수집했음을 확인한 후 one.newrelic.com 에서 대시보드 로 이동하여 RedPanda 대시보드를 확인하십시오.

다음은 뭐지?

RedPanda 대시보드를 추가로 사용자 정의하려면 NRQL 쿼리 작성 및 관리에 대해 자세히 알아볼 수 있습니다. New Relic UI에서:

Copyright © 2023 New Relic Inc.

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