Google App Engine

Présentation

Installez l’intégration Google App Engine dans votre projet pour :

  • Consulter les métriques de vos services Google App Engine (memcache, files d’attente de tâches, banques de données, etc.)
  • Consulter des métriques sur les requêtes (pourcentages, latence, coût, etc.)
  • Appliquer des tags aux métriques de Google App Engine en fonction de leur version pour comparer les performances des différentes versions

Vous pouvez également envoyer des métriques custom à Datadog via l’API ou DogStatsD.

Configuration

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 App Engine 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 App Engine depuis Google Cloud Logging vers le Pub/Sub :

  1. Accédez à la page Google Cloud Logging et filtrez les logs Google App Engine.
  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.gae.flex.autoscaler.capacity
(gauge)
Utilization capacity multiplied by the number of serving VMs.
gcp.gae.flex.autoscaler.connections.current
(gauge)
The number of current reading and writing connections per App Engine flexible environment instance. Intended to be used for autoscaling.
Shown as connection
gcp.gae.flex.autoscaler.current_utilization
(gauge)
The sum of the utilization of a specified metric for all serving VMs.
gcp.gae.flex.connections.current
(gauge)
The number of current active connections per App Engine flexible environment version.
Shown as connection
gcp.gae.flex.cpu.reserved_cores
(gauge)
The total number of CPU cores allocated to an App Engine flexible environment version.
Shown as core
gcp.gae.flex.cpu.utilization
(gauge)
Fractional utilization of allocated CPU across an AppEngine flexible environment version. Values are typically numbers between 0.0 and 1.0 (but some machine types allow bursting above 1.0).
Shown as percent
gcp.gae.flex.disk.read_bytes_count
(count)
The count of bytes read from disk across an App Engine flexible environment version.
Shown as byte
gcp.gae.flex.disk.write_bytes_count
(count)
The count of bytes written from disk across an App Engine flexible environment version.
Shown as byte
gcp.gae.flex.instance.connections.current
(count)
The number of current active connections per App Engine flexible environment instance.
Shown as connection
gcp.gae.flex.instance.cpu.usage_time
(count)
Delta vCPU usage for all vCPUs, in vCPU-seconds. This value is reported by the hypervisor for the VM and can differ from agent.googleapis.com/cpu/usage_time, which is reported from inside the VM.
Shown as second
gcp.gae.flex.instance.cpu.utilization
(gauge)
Fractional CPU utilization for all cores on a single AppEngine flexible instance. Values are typically numbers between 0.0 and 1.0 for a single core (but might exceed 1.0 in total).
gcp.gae.flex.instance.disk.io.read_bytes_count
(count)
The count of bytes read from disk.
Shown as byte
gcp.gae.flex.instance.disk.io.write_bytes_count
(count)
The count of bytes written to disk.
Shown as byte
gcp.gae.flex.instance.guest.disk.bytes_used
(gauge)
The number of bytes used on disk for file systems.
Shown as byte
gcp.gae.flex.instance.guest.memory.bytes_used
(gauge)
The memory usage by each memory state, in bytes. Summing values of all states yields the total memory on the machine.
Shown as byte
gcp.gae.flex.instance.healthcheck.liveness.request_count
(count)
The number of liveness health-check requests for a Flex instance with status and error code.
Shown as request
gcp.gae.flex.instance.healthcheck.readiness.request_count
(count)
The number of readiness health-check requests for a Flex instance with status and error code.
Shown as request
gcp.gae.flex.instance.jvm.gc.count
(count)
The total number of garbage collections that have occurred.
Shown as garbage collection
gcp.gae.flex.instance.jvm.gc.time
(count)
The accumulated garbage collection elapsed time in milliseconds.
Shown as millisecond
gcp.gae.flex.instance.jvm.memory.usage
(gauge)
The memory usage.
gcp.gae.flex.instance.jvm.os.cpu_time
(count)
The CPU time used by the process on which the Java virtual machine is running.
Shown as nanosecond
gcp.gae.flex.instance.jvm.thread.num_live
(gauge)
The current number of live threads.
Shown as thread
gcp.gae.flex.instance.jvm.thread.peak
(gauge)
The peak number of live threads.
Shown as thread
gcp.gae.flex.instance.jvm.uptime
(count)
The uptime of the Java virtual machine.
Shown as millisecond
gcp.gae.flex.instance.log_entry_count
(count)
The count of log entries written by the Logging agent.
Shown as entry
gcp.gae.flex.instance.log_entry_retry_count
(count)
The count of log-entry writes that were retried by the Logging agent.
Shown as write
gcp.gae.flex.instance.network.received_bytes_count
(count)
The count of incoming network bytes in an App Engine flexible instance.
Shown as byte
gcp.gae.flex.instance.network.sent_bytes_count
(count)
The count of outgoing network bytes in an App Engine flexible instance.
Shown as byte
gcp.gae.flex.instance.nginx.connections.accepted_count
(count)
The total connections accepted.
Shown as connection
gcp.gae.flex.instance.nginx.connections.current
(gauge)
The number of connections currently attached to Nginx.
Shown as connection
gcp.gae.flex.instance.nginx.connections.handled_count
(count)
The total connections handled.
gcp.gae.flex.instance.uptime
(gauge)
How long the VM has been running, in seconds.
Shown as second
gcp.gae.flex.instance.ws.avg_duration
(gauge)
The average of websocket requests for a given App Engine Flexible instance.
Shown as second
gcp.gae.flex.network.received_bytes_count
(count)
The count of incoming network bytes across all VMs in an App Engine flexible environment version
Shown as byte
gcp.gae.flex.network.sent_bytes_count
(count)
The count of outgoing network bytes across all VMs in an App Engine flexible environment version
Shown as byte
gcp.gae.http.server.dos_intercept_count
(count)
The count of interceptions performed to prevent DoS attacks.
Shown as occurrence
gcp.gae.http.server.quota_denial_count
(count)
The count of failed requests due to the app being over quota.
Shown as request
gcp.gae.http.server.response_count
(count)
The HTTP response count.
Shown as response
gcp.gae.http.server.response_latencies.avg
(gauge)
The average HTTP response latency.
Shown as millisecond
gcp.gae.http.server.response_latencies.p95
(gauge)
The 95th percentile of HTTP response latency.
Shown as millisecond
gcp.gae.http.server.response_latencies.p99
(gauge)
The 99th percentile of HTTP response latency.
Shown as millisecond
gcp.gae.http.server.response_latencies.samplecount
(count)
The sample count for HTTP response latency.
Shown as millisecond
gcp.gae.http.server.response_latencies.sumsqdev
(gauge)
The sum of squared deviation for HTTP response latency.
Shown as millisecond
gcp.gae.http.server.response_style_count
(count)
The count of HTTP responses by serve style.
Shown as response
gcp.gae.memcache.centi_mcu_count
(count)
Memcache utilization as 1/100th Memcache Compute Units.
Shown as unit
gcp.gae.memcache.hit_ratio
(gauge)
The percentage of successful hits compared to all memcache operations.
Shown as hit
gcp.gae.memcache.operation_count
(count)
The count of memcache key operations, grouped by command and status.
Shown as operation
gcp.gae.memcache.received_bytes_count
(count)
The number of bytes received by app from the memcache API, grouped by status and memcache command.
Shown as byte
gcp.gae.memcache.sent_bytes_count
(count)
The number of bytes sent by app through the memcache API, grouped by memcache command.
Shown as byte
gcp.gae.memcache.used_cache_size
(gauge)
The size of the cache, calculated as the total size of all items stored.
gcp.gae.system.billed_instance_estimate_count
(gauge)
An estimate of the number of instances that the customer is charged for.
Shown as instance
gcp.gae.system.cpu.usage
(gauge)
CPU usage in megacycles over all instances.
gcp.gae.system.cpu.utilization
(gauge)
CPU utilization average over all active instances.
gcp.gae.system.instance_count
(gauge)
The number of instances that exist.
Shown as instance
gcp.gae.system.memory.usage
(gauge)
The total memory used by running instances.
Shown as byte
gcp.gae.system.network.received_bytes_count
(count)
The count of incoming network bandwidth.
Shown as byte
gcp.gae.system.network.sent_bytes_count
(count)
The count of outgoing network bandwidth.
Shown as byte

Événements

L’intégration Google App Engine n’inclut aucun événement.

Checks de service

L’intégration Google App Engine n’inclut aucun check de service.

Dépannage

Besoin d’aide ? Contactez l’assistance Datadog.