Supported OS Linux Windows Mac OS

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

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

概要

このチェックは、Datadog Agent を通じて Velero を監視します。Velero のバックアップ、リストア、スナップショットの操作に関するデータを収集します。これにより、ユーザーは災害復旧プロセスの健全性、パフォーマンス、信頼性についての洞察を得られます。

セットアップ

インストール

Velero チェックは Datadog Agent パッケージに含まれています。 サーバー上での追加インストールは不要です。

設定

メトリクス

ホスト上で実行中の Agent に対してこのチェックをインストールおよび構成するには、以下の手順に従ってください。

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

  2. Agent を再起動します

コンテナ化された環境でこのインテグレーションを構成する方法については、Autodiscovery Integration テンプレート を参照してください。

すべてのメトリクスを収集するには、2 種類の Pod、veleronode-agent をクエリする必要がある点に注意してください。 したがって、velero の Deployment と node-agent の DaemonSet のアノテーションを更新してください。

ログ

Velero インテグレーションは、Velero Pod からログを収集できます。

ホスト上の Velero コンテナからログを収集するには:

  1. Datadog Agent で、ログの収集はデフォルトで無効になっています。以下のように、datadog.yaml ファイルでこれを有効にします。

    logs_enabled: true
    
  2. velero.d/conf.yaml ファイル内の logs 構成ブロックのコメントを解除して編集します。例:

    logs:
      - type: docker
        source: velero
        service: velero
    

Velero の Kubernetes デプロイメントからログを収集するには:

  1. Datadog Agent で、ログの収集はデフォルトで無効になっています。有効にする方法については、Kubernetes ログ収集を参照してください。

  2. Pod アノテーションとして Log Integrations を設定します。これは、ファイル、ConfigMap、またはキー バリュー ストアでも構成できます。詳細は、Kubernetes ログ収集 の構成セクションを参照してください。

検証

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

収集データ

メトリクス

Follow the instructions below to install and configure this check for an Agent running on a host.

  1. Edit the velero.d/conf.yaml file, in the conf.d/ folder at the root of your Agent’s configuration directory to start collecting your Velero performance data. See the sample velero.d/conf.yaml for all available configuration options.

  2. Restart the Agent.

See the Autodiscovery Integration Templates for guidance on configuring this integration in a containerized environment.

Note that two types of pods need to be queried for all metrics to be collected: velero and node-agent Therefore, make sure to update the annotations of the velero deployment as well as the node-agent daemonset.

イベント

この Velero インテグレーションには、イベントは含まれていません。

サービスチェック

この Velero インテグレーションには、サービス チェックは含まれていません。

トラブルシューティング

Deployment 構成でこの機能が有効になっていることを確認し、Velero サーバーがメトリクスを公開していることを確認してください:

# Velero の Prometheus メトリクスの設定。デフォルトで有効です。
metrics:
  enabled: true
  scrapeInterval: 30s
  scrapeTimeout: 10s

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