概要

Google Cloud Tasks は、大量の分散タスクの実行、ディスパッチ、配布を管理できるフルマネージド型のサービスです。

Datadog Google Cloud Platform インテグレーションを使用して、Google Cloud Tasks からメトリクスを収集できます。

セットアップ

インストール

Google Cloud Platform インテグレーションをまだセットアップしていない場合は、最初にセットアップします。それ以上のインストール手順はありません。

収集データ

Google Cloud Tasks のログは Google Cloud Logging で収集され、Cloud Pub/Sub トピックを通じて Dataflow ジョブに送信されます。まだの場合は、Datadog Dataflow テンプレートでロギングをセットアップしてください

これが完了したら、Google Cloud Tasks のログを Google Cloud Logging から Pub/Sub トピックへエクスポートします。

  1. Google Cloud Logging のページに移動し、Google Cloud Tasks のログを絞り込みます。
  2. Create Export をクリックし、シンクに名前を付けます。
  3. 宛先として “Cloud Pub/Sub” を選択し、その目的で作成された Pub/Sub トピックを選択します。: Pub/Sub トピックは別のプロジェクトに配置できます。
  4. 作成をクリックし、確認メッセージが表示されるまで待ちます。

収集データ

メトリクス

gcp.cloudtasks.api.request_count
(count)
Count of Cloud Tasks API calls.
Shown as request
gcp.cloudtasks.queue.task_attempt_count
(count)
Count of task attempts broken down by response code.
gcp.cloudtasks.queue.task_attempt_delays.avg
(gauge)
Delay between each scheduled attempt time and actual attempt time.
Shown as millisecond
gcp.cloudtasks.queue.task_attempt_delays.samplecount
(count)
Sample count for task attempt delays
Shown as millisecond
gcp.cloudtasks.queue.task_attempt_delays.sumsqdev
(gauge)
Sum of squared deviation for task attempt delays
Shown as second

イベント

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

サービスチェック

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

トラブルシューティング

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

PREVIEWING: alai97/reorganize-some-sections-in-dora-metrics