CI Visibility のトラブルシューティング

選択したサイト () では現在 CI Visibility は利用できません。

概要

このページでは、CI Visibility に関する問題のトラブルシューティングに役立つ情報を提供します。さらにヘルプが必要な場合は、Datadog サポートにお問い合わせください。

Jenkins インスタンスがインスツルメントされていますが、Datadog にデータが表示されていません

  1. 1 つ以上のパイプラインが実行を完了していることを確認します。パイプラインの実行情報は、パイプラインが完了しないと送信されません。
  2. Datadog Agent ホストが適切に構成されており、Datadog プラグインから到達可能であることを確認してください。Jenkins プラグインコンフィギュレーション UI の Check connectivity with the Datadog Agent (Datadog Agent との接続を確認する) ボタンをクリックすると、接続をテストできます。
  3. Jenkins のログにエラーがないか確認します。Datadog プラグインのデバッグレベルのログを有効にするには、logging.properties ファイルを作成して、org.datadog.level = ALL という行を追加します。

パイプラインが見つかりません

running パイプラインをサポートしていない CI プロバイダーで、進行中のパイプラインから送られてくる不完全なデータをクリックすると、「パイプラインが見つかりません」というメッセージが表示されます。ステージ、ジョブ、カスタムコマンドのデータは、順次受信されます。パイプラインが終了するまで待ち、再度お試しください。

Pipelines ページでパイプラインが欠落している

パイプラインページには、Git 情報のないパイプラインか、Git リポジトリのデフォルトブランチに属するGit 情報を持つパイプラインしか表示されません。

サマリーテーブルでステージやジョブが欠落している

Pipeline Details ページでステージやジョブが見つからないのは、構成が間違っている可能性があります。ステージまたはジョブの実行に保存されているパイプライン名が、親パイプラインの同じ名前と一致していることを確認してください。カスタムパイプラインを使用している場合は、公開 API エンドポイント仕様を参照してください。

Missing variables in Gitlab pipelines

User-defined variables in Gitlab should be reported in the field @ci.parameters in CI Visibility. However, this information is only present in some cases like downstream pipelines, and may be missing for the rest of the cases since Gitlab does not always report this information to Datadog.

Limitations on running pipelines

Delivery of webhook events is not guaranteed by CI providers

Running pipelines support relies on data sent from CI providers indicating execution status. If this data is not available, executions marked as Running in Datadog may have already finished.

Maximum duration for a pipeline execution

A pipeline execution can maintain Running status for a maximum of three days. If it is still running after that time, the pipeline execution does not appear in CI Visibility. If a pipeline execution finishes after three days, the finished pipeline execution appears in CI Visibility with its correspondent final status (Success, Error, Canceled, Skipped) and with the correct duration.

Further reading

PREVIEWING: evan.li/clarify-agentless