Supported OS Linux Windows Mac OS

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

概要

Scalr は、テラフォームの運用を分散化するための制御、可視化、柔軟性を一箇所で提供するテラフォームクラウドの代替品です。

Scalr インテグレーションは、キューの実行、キューの状態、環境数、ワークスペース数など、詳細な分析とレポートのための Terraform ラン実行イベントの詳細とメトリクスを送ります。これらのメトリクスはすぐに使えるダッシュボードで視覚化され、デプロイメントと他のインフラストラクチャーの変更の関連付けや、Terraform パイプライン内のトレンドの追跡に役立ちます。

セットアップ

Scalr インテグレーションは Datadog Agent パッケージに含まれていないため、お客様自身でインストールする必要があります。

インストール

Datadog Agent v7.21 または v6.21 以降の場合、以下の手順に従ってホストに Scalr インテグレーションをインストールします。Datadog Agent 以前のバージョンでインストールする場合は、コミュニティインテグレーションを利用するを参照してください。

  1. 以下のコマンドを実行して、Agent インテグレーションをインストールします。

    datadog-agent integration install -t datadog-scalr==1.0.0
    
  2. Agent ベースのインテグレーションと同様にインテグレーションを構成します。

コンフィギュレーション

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

  2. Agent を再起動します

検証

Agent のステータスサブコマンドを実行し、Checks セクションで scalr を探します。

収集データ

メトリクス

scalr.environments.count
(gauge)
The number of environments.
Shown as unit
scalr.workspaces.count
(gauge)
The number of workspaces.
Shown as unit
scalr.runs.count
(gauge)
The number of runs.
Shown as unit
scalr.runs.successful
(gauge)
The number of successful runs.
Shown as unit
scalr.runs.failed
(gauge)
The number of failed runs.
Shown as unit
scalr.runs.awaiting_confirmation
(gauge)
The number of runs awaiting confirmation.
Shown as unit
scalr.runs.concurrency
(gauge)
The number of current concurrent runs.
Shown as unit
scalr.runs.queue_size
(gauge)
The number of runs in a queue.
Shown as unit
scalr.quota.max_concurrency
(gauge)
The number of maximum parallel runs.
Shown as unit
scalr.billing.runs.count
(gauge)
The number of billing runs.
Shown as unit
scalr.billing.run_minutes.count
(gauge)
The number of billing minutes.
Shown as unit
scalr.billing.flex_runs.count
(gauge)
The number of billing flex runs.
Shown as unit
scalr.billing.flex_run_minutes.count
(gauge)
The number of billing flex runs minutes.
Shown as unit

イベント

Scalr は、実行結果をイベントとしてイベントエクスプローラーに送信します。

トラブルシューティング

ヘルプが必要ですか?Datadog サポートまたは Scalr サポートにお問い合わせください。