Ve a Bonsai –> Clusters y haz clic en el clúster que deseas integrar. Ve a la pestaña Manage y desplázate hasta la parte inferior de la página.
En la sección “Datadog Integration”, pega tu clave API y haz clic en “Activate Datadog”.
Verificar
Si tu clave es válida, deberías ver la integración como activa.
En pocos minutos, las métricas de solicitud estarán disponibles en tu dashboard de Datadog.
Datos recopilados
Métricas
bonsai.req.2xx (gauge)
Number of requests with a 2xx (successful) response code Shown as request
bonsai.req.4xx (gauge)
Number of requests with a 4xx (client error) response code Shown as request
bonsai.req.5xx (gauge)
Number of requests with a 5xx (server error) response code Shown as request
bonsai.req.max_concurrency (gauge)
Peak concurrent requests Shown as connection
bonsai.req.p50 (gauge)
The median request duration Shown as minute
bonsai.req.p95 (gauge)
The 95th percentile request duration Shown as minute
bonsai.req.p99 (gauge)
The 99th percentile request duration Shown as minute
bonsai.req.queue_depth (gauge)
Peak queue depth (how many requests are waiting due to concurrency limits) Shown as connection
bonsai.req.reads (gauge)
The number of requests which read data Shown as request
bonsai.req.rx_bytes (gauge)
The number of bytes sent to elasticsearch Shown as byte
bonsai.req.total (gauge)
The total number of requests Shown as request
bonsai.req.tx_bytes (gauge)
The number of bytes sent to client Shown as byte
bonsai.req.writes (gauge)
The total number of writes Shown as request
Las métricas están etiquetadas para cada clúster, por lo que puedes segmentar en función de los clústeres. Las etiquetas (tags) tienen el siguiente aspecto:
cluster:my-cluster-slug
Eventos
La integración Bonsai no incluye eventos.
Checks de servicio
La integración Bonsai no incluye checks de servicio.