Google Cloud Router

Présentation

Google Cloud Router permet l’échange dynamique de routes entre votre cloud privé virtuel (VPC) et vos réseaux sur site à l’aide du protocole BGP (Border Gateway Protocol).

Utilisez l’intégration Datadog Google Cloud Platform pour recueillir des métriques de Google Cloud Router.

Implémentation

Installation

Si vous ne l’avez pas déjà fait, configurez d’abord l’intégration Google Cloud Platform. Aucune autre procédure d’installation n’est requise.

Collecte de logs

Les logs Google Cloud Router sont recueillis avec Google Cloud Logging et envoyés à un Cloud Pub/Sub via un forwarder Push HTTP. Si vous ne l’avez pas déjà fait, configurez un Cloud Pub/Sub à l’aide d’un forwarder Push HTTP.

Une fois cette opération effectuée, exportez vos logs Google Cloud Router depuis Google Cloud Logging vers le Pub/Sub :

  1. Accédez à la page Google Cloud Logging et filtrez les logs Google Cloud Router.
  2. Cliquez sur Create Export et nommez le récepteur.
  3. Choisissez Cloud Pub/Sub comme destination et sélectionnez le Pub/Sub créé à cette fin. Remarque : le Pub/Sub peut se situer dans un autre projet.
  4. Cliquez sur Create et attendez que le message de confirmation s’affiche.

Données collectées

Métriques

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.

Événements

L’intégration Google Cloud Router n’inclut aucun événement.

Checks de service

L’intégration Google Cloud Router n’inclut aucun check de service.

Dépannage

Besoin d’aide ? Contactez l’assistance Datadog.