Google Cloud Logging

概要

Google の Cloud Logging 製品を使用すると、Google Cloud Platform からのログデータやイベントを保存、検索、分析、監視、およびアラートすることができます。

Datadog は Google Cloud Logging からメトリクスをプルして、以下を実行します。

  • Google Cloud ログのパフォーマンスを視覚化。
  • Google Cloud ログのパフォーマンスをアプリケーションと関連付け。

セットアップ

インストール

Google Cloud ログのメトリクスは、Google Cloud Platform インテグレーション に含まれています。追加のインストール手順は必要ありません。

ログの収集

HTTP プッシュフォワーダーを使用した Cloud Pub/sub のセットアップがまだの場合は、セットアップして GCP ログを Datadog へ転送します。

収集データ

メトリクス

gcp.logging.billing.bytes_ingested
(count)
Log bytes ingested.
Shown as byte
gcp.logging.billing.monthly_bytes_ingested
(gauge)
Month-to-date log bytes ingested.
Shown as byte
gcp.logging.byte_count
(count)
Number of bytes in all log entries ingested.
Shown as byte
gcp.logging.dropped_log_entry_count
(count)
(Deprecated) Number of log entries that did not contribute to user defined metrics.
Shown as entry
gcp.logging.excluded_byte_count
(count)
Number of bytes in log entries that were excluded.
Shown as byte
gcp.logging.excluded_log_entry_count
(count)
Number of log entries that were excluded.
Shown as entry
gcp.logging.exports.byte_count
(count)
Number of bytes in log entries that were exported.
Shown as byte
gcp.logging.exports.error_count
(count)
Number of log entries that failed to be exported.
Shown as entry
gcp.logging.exports.log_entry_count
(count)
Number of log entries that were exported.
Shown as entry
gcp.logging.log_entry_count
(count)
Number of log entries that contributed to user-defined metrics.
Shown as entry
gcp.logging.logs_based_metrics_error_count
(count)
Number of log entries that did not contribute to user defined metrics.
Shown as entry
gcp.logging.metric_throttled
(gauge)
Indicates if points are being dropped for logs-based metrics due to exceeding time series limits.
gcp.logging.time_series_count
(gauge)
Estimate of the active time series count for logs-based metrics.

: Datadog は、プレフィックス gcp.logging.user を使用して Google Cloud Logging のユーザー定義のメトリクス を収集します。

イベント

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

サービスのチェック

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

トラブルシューティング

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

その他の参考資料

お役に立つドキュメント、リンクや記事: