Supported OS Linux Windows Mac OS

インテグレーションバージョン0.0.1

概要

Flux は、オープンで拡張可能な Kubernetes のための継続的かつプログレッシブなデリバリーソリューションのセットです。 このチェックでは、Datadog Agent を通じて fluxcd を監視します。

セットアップ

ホストで実行されている Agent 用にこのチェックをインストールおよび構成する場合は、以下の手順に従ってください。コンテナ環境の場合は、オートディスカバリーのインテグレーションテンプレート のガイドを参照してこの手順を行ってください。

インストール

fluxcd チェックをホストにインストールするには

  1. 開発ツールキット をインストールします。 どのマシンでも。

  2. ddev release build fluxcd を実行してパッケージをビルドします。

  3. Datadog Agent をダウンロードします

  4. ビルドの成果物を Agent をインストール済みのホストにアップロードし、以下を実行します。 datadog-agent integration install -w path/to/fluxcd/dist/<ARTIFACT_NAME>.whl.

コンフィギュレーション

  1. fluxcd のパフォーマンスデータの収集を開始するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/ フォルダーの fluxcd.d/conf.yaml ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションについては、サンプル fluxcd.d/conf.yaml を参照してください。

  2. Agent を再起動します

検証

Agent の status サブコマンドを実行 し、Checks セクションで fluxcd を探します。

収集データ

メトリクス

fluxcd.gotk.reconcile.condition
(gauge)
The current condition status of a GitOps Toolkit resource reconciliation.
fluxcd.gotk.suspend.status
(gauge)
The current suspend status of a GitOps Toolkit resource.
fluxcd.gotk.reconcile.duration.seconds.sum
(count)
Sum of the duration in seconds of a GitOps Toolkit resource reconciliation.
fluxcd.gotk.reconcile.duration.seconds.count
(count)
Count of the duration in seconds of a GitOps Toolkit resource reconciliation.
fluxcd.gotk.reconcile.duration.seconds.bucket
(count)
Bucket of the duration in seconds of a GitOps Toolkit resource reconciliation.
fluxcd.controller.runtime.active.workers
(gauge)
Number of currently used workers per controller.
fluxcd.controller.runtime.reconcile.count
(count)
Total number of reconciliations per controller.
fluxcd.controller.runtime.reconcile.time.seconds.bucket
(count)
Bucket of length of time per reconciliation per controller.
fluxcd.controller.runtime.reconcile.time.seconds.sum
(count)
Sum of length of time per reconciliation per controller.
fluxcd.controller.runtime.reconcile.time.seconds.count
(count)
Count of length of time per reconciliation per controller.
fluxcd.controller.runtime.max.concurrent.reconciles
(gauge)
Maximum number of concurrent reconciles per controller.
fluxcd.controller.runtime.reconcile.errors.count
(count)
Total number of reconciliation errors per controller.

イベント

fluxcd インテグレーションには、イベントは含まれません。

サービスのチェック

fluxcd インテグレーションには、サービスのチェック機能は含まれません。

トラブルシューティング

ご不明な点は、Datadog のサポートチーム までお問い合わせください。