To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.
To initiate an exception request to enable this integration for your organization, email [email protected].
概要
このチェックは CRI-O を監視します。
セットアップ
インストール
このインテグレーションは、CRI-O の --enable-metrics オプションに依存します。このオプションはデフォルトでは無効です。有効にした場合は、127.0.0.1:9090/metrics でメトリクスが公開されます。
構成
CRI-Oのパフォーマンスデータを収集するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/ フォルダーの crio.d/conf.yaml ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションについては、サンプル crio.d/conf.yaml を参照してください。
Agent を再起動します。
検証
Agent の status サブコマンドを実行し、Checks セクションで crio を探します。
収集データ
CRI-O は、ランタイムによって実行される操作のカウントとレイテンシーに関するメトリクスを収集します。
さらに、Datadog-CRI-O インテグレーションは、CRI-O Golang バイナリ自体の CPU 使用率とメモリ使用量を収集します。
メトリクス
| |
|---|
crio.cpu.time (gauge) | Total user and system CPU time spent in seconds Shown as second |
crio.mem.resident (gauge) | Resident memory size in bytes Shown as byte |
crio.mem.virtual (gauge) | Virtual memory size in bytes Shown as byte |
crio.operations.count (count) | Counter of CRI-O operations |
crio.operations.latency.count (gauge) | Count of CRI-O operations latency |
crio.operations.latency.quantile (gauge) | Quantiles of CRI-O operations latency |
crio.operations.latency.sum (gauge) | Sum of CRI-O operations latency Shown as microsecond |
サービスチェック
crio.prometheus.health:
Returns
CRITICAL if the Agent cannot reach the metrics endpoints.
トラブルシューティング
ご不明な点は、Datadog のサポートチームまでお問い合わせください。