• ログイン今すぐ開始

この機械翻訳は参考用に提供されます。

英語版と翻訳版に矛盾がある場合は、英語版が優先されます。詳細については、 を参照してください。

問題を作成する

Redpanda の統合

Redpanda ダッシュボードを使用すると、クラスター レベルのメトリクス、Redpanda スケジューリング グループ、サービス エラーとアップタイムを追跡できます。インフラストラクチャ エージェントと Prometheus OpenMetrics の統合で構築された Redpanda ダッシュボードは、OpenMetrics エンドポイント スクレイピングを利用するため、最も重要なデータをすべて 1 か所で表示できます。

New Relic で Redpanda をセットアップすると、すぐにデータがこのようなダッシュボードに表示されます。

インフラストラクチャ エージェントと Prometheus OpenMetrics 統合をインストールする

Redpanda データを New Relic に取り込む前に、インフラストラクチャ エージェントをインストールしてから、Prometheus OpenMetrics をインストールしてメトリックを公開する必要があります。

RedPanda 用に Prometheus OpenMetrics を構成する

Prometheus OpenMetrics をインストールしたら、RedPanda データをスクレイピングするようにnri-prometheus-config.ymlファイルを構成する必要があります。構成ファイルは、 nri-prometheusリポジトリのスニペットと一致する必要があります。

integrations:
- name: nri-prometheus
config:
# When standalone is set to false, the infrastructure agent will need to send data so nri-prometheus can work. Defaults to true.
standalone: false
# If using the infrastructure agent, emitters must be set to 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 Prometheus OpenMetrics can scrape data from the cluster.
cluster_name: "YOUR_EXPORTER_NAME"
targets:
- description: "Redpanda metrics are captured in the below urls"
urls: ["'localhost:9644/metrics', '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, so use with care.
audit: false
# The HTTP client timeout when fetching data from endpoints. Defaults to 30s.
# scrape_timeout: "30s"
# Length in time to distribute the scraping from the endpoints.
scrape_duration: "5s"
# Number of worker threads used for scraping targets.
# For large clusters with more than 400 endpoints, we recommend that you 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 クイックスタートをインストールすると、重要な Redpanda データを New Relic で確認できます。データが報告されていることを確認するには:

  1. one.newrelic.comにアクセスし、次に[メトリクスとイベント]をクリックします。
  2. 次の NRQL クエリを実行します: FROM Metric SELECT latest(vectorized_application_uptime)
  3. New Relic が Redpanda メトリクスを取り込んだことを確認したら、 one.newrelic.comからDashboardsにアクセスして RedPanda ダッシュボードを表示します。

次は何ですか?

RedPanda ダッシュボードをさらにカスタマイズしたい場合は、New Relic UI での NRQL クエリの作成とダッシュボードの管理について詳しく学ぶことができます。

Copyright © 2023 New Relic Inc.

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