概要

Google Cloud Router では、Border Gateway Protocol (BGP) を使用して、Virtual Private Cloud (VPC) とオンプレミスネットワークの間のルートを動的に交換できます。

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

セットアップ

インストール

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

収集データ

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

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

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

収集データ

メトリクス

gcp.router.best_received_routes_count
(gauge)
Current number of best routes received by router.
Shown as route
gcp.router.bfd.control.receive_intervals
(gauge)
BFD control packets receive intervals.
Shown as millisecond
gcp.router.bfd.control.received_packets_count
(count)
Number of control packets received from this BFD session.
gcp.router.bfd.control.rejected_packets_count
(count)
Number of control packets rejected, from this BFD session.
gcp.router.bfd.control.transmit_intervals
(gauge)
BFD control packets transmit intervals.
Shown as millisecond
gcp.router.bfd.control.transmitted_packets_count
(count)
Number of control packets transmitted from this BFD session.
gcp.router.bfd.session_flap_events_count
(count)
Number of each BFD flap event from this BFD session. A session flap event refers to the transition from Up state.
gcp.router.bfd.session_up
(gauge)
Indicator for successful BFD session establishment. 1 indicates the session is up. 0 indicates the session is down.
gcp.router.bgp.received_routes_count
(gauge)
Current number of routes received on a BGP session.
Shown as route
gcp.router.bgp.sent_routes_count
(gauge)
Current number of routes sent on a BGP session.
Shown as route
gcp.router.bgp.session_up
(gauge)
Indicator for successful BGP session establishment.
gcp.router.bgp_sessions_down_count
(gauge)
Number of BGP sessions on the router that are down.
Shown as session
gcp.router.bgp_sessions_up_count
(gauge)
Number of BGP sessions on the router that are up.
Shown as session
gcp.router.dynamic_routes.learned_routes.any_dropped_unique_destinations
(gauge)
A boolean metric of whether there are any unique destinations dropped in a network region due to exceeding quota.
gcp.router.dynamic_routes.learned_routes.dropped_unique_destinations
(gauge)
The number of unique destinations dropped in a network region due to exceeding quota.
gcp.router.dynamic_routes.learned_routes.unique_destinations_limit
(gauge)
The maximum number of unique destinations allowed by route quota for this network region.
gcp.router.dynamic_routes.learned_routes.used_unique_destinations
(gauge)
Number of unique destinations used by learned routes for this network region.
gcp.router.nat.allocated_ports
(gauge)
The number of ports allocated to all VMs by the NAT gateway.
gcp.router.nat.closed_connections_count
(count)
The number of connections to the NAT gateway that are closed.
Shown as connection
gcp.router.nat.dropped_received_packets_count
(count)
The number of received packets dropped by the NAT gateway.
Shown as packet
gcp.router.nat.dropped_sent_packets_count
(count)
Count of sent packets dropped by the NAT gateway.
Shown as packet
gcp.router.nat.nat_allocation_failed
(gauge)
Indicates if there is a failure in allocating NAT IPs to any VM in the NAT gateway.
gcp.router.nat.new_connections_count
(count)
The number of new connections to the NAT gateway.
Shown as connection
gcp.router.nat.open_connections
(gauge)
The number of connections open to the NAT gateway.
Shown as connection
gcp.router.nat.port_usage
(gauge)
The highest port usage among all VMs connected to the NAT gateway.
gcp.router.nat.received_bytes_count
(count)
The number of bytes received by the NAT gateway.
Shown as byte
gcp.router.nat.received_packets_count
(count)
The number of packets received by the NAT gateway.
Shown as packet
gcp.router.nat.sent_bytes_count
(count)
The number of bytes sent by the NAT gateway.
Shown as byte
gcp.router.nat.sent_packets_count
(count)
The number of packets sent by the NAT gateway.
Shown as packet
gcp.router.router_up
(gauge)
Router status, up or down.
gcp.router.sent_routes_count
(gauge)
Current number of routes sent by router.

イベント

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

サービスチェック

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

トラブルシューティング

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