Resilience4j

Supported OS

Versión de la integración1.0.0

Información general

Resilience4j es una biblioteca de tolerancia a fallos ligera inspirada en Netflix Hystrix, pero diseñada para la programación funcional. Este check monitoriza Resilience4j a través del Datadog Agent.

Configuración

Instalación

Para instalar el check Resilience4j en tu host:

  1. Instala el [kit de herramientas para desarrolladores]. (https://docs.datadoghq.com/developers/integrations/python/) en cualquier máquina.

  2. Ejecuta ddev release build resilience4j para compilar el paquete.

  3. Descarga el Datadog Agent.

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

Configuración

  1. Edita el archivo resilience4j/conf.yaml que se encuentra en la carpeta conf.d/ en la raíz del directorio de configuración de tu Agent para empezar a recopilar tus datos de rendimiento de Resilience4j. Para conocer todas las opciones de configuración disponibles, consulta el resilience4j/conf.yaml de ejemplo.

  2. Reinicia el Agent.

Validación

Ejecuta el subcomando de estado del Agent y busca resilience4j en la sección Checks.

Datos recopilados

Métricas

resilience4j.bulkhead.available.concurrent.calls
(gauge)
The number of available permissions
resilience4j.bulkhead.core.thread.pool.size
(gauge)
The core size of the bulkhead thread pool
resilience4j.bulkhead.max.allowed.concurrent.calls
(gauge)
The maximum number of available permissions
resilience4j.bulkhead.max.thread.pool.size
(gauge)
The maximum allowed size of the thread pool
resilience4j.bulkhead.queue.capacity
(gauge)
The maximum allowed size of the queue
resilience4j.bulkhead.queue.depth
(gauge)
The number of tasks in the queue
resilience4j.bulkhead.thread.pool.size
(gauge)
The current size of the thread pool
resilience4j.circuitbreaker.buffered.calls
(gauge)
The number of buffered failed calls stored in the ring buffer
resilience4j.circuitbreaker.calls
(count)
Total number of calls
Shown as unit
resilience4j.circuitbreaker.calls.seconds.bucket
(count)
Sum of number of successful calls
Shown as second
resilience4j.circuitbreaker.calls.seconds.count
(count)
Count of number of successful calls
Shown as second
resilience4j.circuitbreaker.calls.seconds.max
(gauge)
Max of number of successful calls
Shown as second
resilience4j.circuitbreaker.calls.seconds.sum
(count)
Sum of number of successful calls
Shown as second
resilience4j.circuitbreaker.failure.rate
(gauge)
The failure rate of the circuit breaker
resilience4j.circuitbreaker.max.buffered.calls
(gauge)
The maximum number of buffered calls which can be stored in the ring buffer
resilience4j.circuitbreaker.not.permitted.calls
(count)
Total number of not permitted calls
Shown as unit
resilience4j.circuitbreaker.not.permitted.calls.count
(count)
Count of number of not permitted calls
Shown as unit
resilience4j.circuitbreaker.slow.call.rate
(gauge)
The slow call rate of the circuit breaker
resilience4j.circuitbreaker.state
(gauge)
The states of the circuit breaker
resilience4j.ratelimiter.available.permissions
(gauge)
The number of available permissions
resilience4j.ratelimiter.waiting.threads
(gauge)
The number of threads waiting for permission
resilience4j.retry.calls
(gauge)
The number of successful calls without a retry attempt
resilience4j.retry.calls.count
(count)
The number of successful calls without a retry attempt
resilience4j.timelimiter.calls
(count)
Total number of calls which were successful
Shown as unit

Checks de servicio

La integración Resilience4j no incluye checks de servicios.

Eventos

La integración Resilience4j no incluye eventos.

Solucionar problemas

¿Necesitas ayuda? Ponte en contacto con la persona responsable del mantenimiento de esta integración.