@ -66,8 +66,7 @@ public class ElasticsearchReactiveHealthIndicator extends AbstractReactiveHealth
@@ -66,8 +66,7 @@ public class ElasticsearchReactiveHealthIndicator extends AbstractReactiveHealth
builder . withDetail ( "delayed_unassigned_shards" , response . delayedUnassignedShards ( ) ) ;
builder . withDetail ( "number_of_pending_tasks" , response . numberOfPendingTasks ( ) ) ;
builder . withDetail ( "number_of_in_flight_fetch" , response . numberOfInFlightFetch ( ) ) ;
builder . withDetail ( "task_max_waiting_in_queue_millis" ,
response . taskMaxWaitingInQueueMillis ( ) . toEpochMilli ( ) ) ;
builder . withDetail ( "task_max_waiting_in_queue_millis" , response . taskMaxWaitingInQueueMillis ( ) ) ;
builder . withDetail ( "active_shards_percent_as_number" ,
Double . parseDouble ( response . activeShardsPercentAsNumber ( ) ) ) ;
return builder . build ( ) ;