• 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インテグレーション)

問題

Prometheus OpenMetricsとNew Relic for DockerやKubernetesとの統合のためにスクレーパーメトリクスを取得したい。

Docker: http://localhost:8080/metricsエンドポイントを構成すると、統合によって独自のメトリックも収集されます。

Kubernetes: デフォルトでは、スクレーパーは独自のメトリックもスクレイプします。

解決

スクレーパーの内部で何が起こっているかを知るために、New RelicとのDockerまたはKubernetesの統合に以下のメトリクスを使用します。

メトリック

説明

nr_stats_targets

レトリバーでターゲットを発見(例:Fixed、Kubernetes)。

nr_stats_fetch_errors_total

試行した結果、エラーとなったものをターゲット別に取得します。

nr_stats_discoveries_total

レトリバーによる発見の試み(例:Fixed、Kubernetes)。

nr_stats_fetches_total

ターゲットで試みられたフェッチ。

nr_stats_integration_fetch_target_duration_seconds

ターゲットのメトリクスを取得するまでの総時間(秒)。

nr_stats_integration_list_targets_duration_by_kind

リソースの種類とレトリバー(Kubernetes Pods、サービスなど)ごとにターゲットのリストを取得するまでの合計時間(秒)。

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

retrieverでエラーになった試みの発見。

Copyright © 2024 New Relic株式会社。

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