track the connection latency when receiving a pong response
detect db server using database_type for jdbc compatibility