Supported OS Linux Windows Mac OS

Versión de la integración1.2.0

Información general

HikariCP es un marco de agrupación de conexiones JDBC ligero y rápido. Este check monitoriza HikariCP a través del Datadog Agent.

Configuración

Instalación

Para instalar el check de HikariCP en tu host:

  1. Instala el kit de herramientas para desarrolladores en cualquier máquina.

  2. Clona el repositorio integrations-extras y navega hasta el directorio.

  3. Ejecuta ddev release build hikaricp para crear el paquete.

  4. Descarga el Datadog Agent.

  5. Sube el artefacto de compilación a cualquier host con un Agent y ejecuta datadog-agent integration install -w path/to/hikaricp/dist/<ARTIFACT_NAME>.whl.

Configuración

  1. Edita el archivo hikaricp/conf.yaml, en la carpeta conf.d/ en la raíz de tu directorio de configuración del Agent para comenzar a recopilar tus datos de rendimiento de HikariCP. Consulta el hikaricp/conf.yaml de ejemplo para todas las opciones disponibles de configuración.

  2. Reinicia el Agent.

Validación

[Ejecuta el subcomando de estado del Agent7 y busca hikaricp en la sección Checks.

Datos recopilados

Métricas

hikaricp.connections
(gauge)
Number of connections
hikaricp.connections.timeout.count
(count)
Total number of timeout connections
hikaricp.connections.active
(gauge)
Number of active connections
hikaricp.connections.idle
(gauge)
Number of idle connections
hikaricp.connections.max
(gauge)
Max number of connections
Shown as connection
hikaricp.connections.min
(gauge)
Min number of connections
Shown as connection
hikaricp.connections.pending
(gauge)
Number of pending connections
hikaricp.connections.acquire.seconds.count
(count)
Count of acquire connection time
Shown as second
hikaricp.connections.acquire.seconds.max
(gauge)
Max of acquire connection time
Shown as second
hikaricp.connections.acquire.seconds.sum
(count)
Sum of acquire connection time
Shown as second
hikaricp.connections.creation.seconds.count
(count)
Count of creation connection time
Shown as second
hikaricp.connections.creation.seconds.max
(gauge)
Max of creation connection time
Shown as second
hikaricp.connections.creation.seconds.sum
(count)
Sum of creation connection time
Shown as second
hikaricp.connections.usage.seconds.count
(count)
Count of usage connection time
Shown as second
hikaricp.connections.usage.seconds.max
(gauge)
Max of usage connection time
Shown as second
hikaricp.connections.usage.seconds.sum
(count)
Sum of usage connection time
Shown as second
hikaricp.threads.pending
(gauge)
Number of pending threads
Shown as thread
hikaricp.connections.acquired.nanos.count
(count)
Count of acquired connection time
Shown as nanosecond
hikaricp.connections.acquired.nanos.sum
(count)
Sum of acquired connection time
Shown as nanosecond
hikaricp.connections.acquired.nanos.quantile
(gauge)
Quantile of acquired connection time
Shown as nanosecond
hikaricp.connections.creation.millis.count
(count)
Count of connection creation time
Shown as millisecond
hikaricp.connections.creation.millis.sum
(count)
Sum of connection creation time
Shown as millisecond
hikaricp.connections.creation.millis.quantile
(gauge)
Quantile of connection creation time
Shown as millisecond
hikaricp.connections.usage.millis.count
(count)
Count of connection usage time
Shown as millisecond
hikaricp.connections.usage.millis.sum
(count)
Sum of connection usage time
Shown as millisecond
hikaricp.connections.usage.millis.quantile
(gauge)
Quantile of connection usage time
Shown as millisecond

Eventos

HikariCP no incluye ningún evento.

Solucionar problemas

¿Necesitas ayuda? Ponte en contacto con el equipo de asistencia de Datadog.