• 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.

問題を作成する

Redpanda の統合

RedPanda インテグレーションは、クラスタレベルのメトリック、スケジュール グループに関するデータ、サービス エラーと稼働時間に関する詳細をキャプチャし、そのデータを事前に構築されたに表示します。

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

インテグレーションをインストールするには、次の手順を実行します。

インフラストラクチャエージェントをインストールします

RedPanda インテグレーションを使用するには、まず同じホストにインフラストラクチャエージェントをインストールする必要があります。 インフラストラクチャエージェントはホスト自体を監視し、次のステップでインストールするインテグレーションは RedPanda 固有のデータを使用して監視を拡張します。

インテグレーションを構成する

  1. /etc/newrelic-infra/integrations.dnri-prometheus-config.yml という名前のファイルを作成します。

  2. RedPanda データのキャプチャを有効にするには、次のスニペットをnri-prometheus-config.ymlファイルに追加します。 必ず自分の情報で設定ファイルを編集してください:

    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

New Relic インフラストラクチャ エージェントを再起動します

データの使用を開始する前に、 インフラストラクチャ エージェントを再起動します

次のコマンドはほとんどのシステムで動作するはずです:

bash
$
sudo systemctl restart newrelic-infra.service

データを検索する

RedPandaという名前の事前に構築されたダッシュボード テンプレートを選択して、Nextcloud サーバーのメトリクスを監視できます。事前に構築されたダッシュボード テンプレートを使用するには、次の手順に従います。

  1. one.newrelic.comから、

    + Add data

    ページに移動します。

  2. Dashboards

    をクリックします。

  3. 検索バーにRedPandaと入力します。

  4. RedPanda ダッシュボードが表示されます。 クリックしてインストールしてください。

    Nextcloud ダッシュボードはカスタム ダッシュボードとみなされ、Dashboards UIで確認できます。 ダッシュボードの使用と編集に関するドキュメントについては、ダッシュボードのドキュメントをご覧ください。

次は何ですか?

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

Copyright © 2024 New Relic株式会社。

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