Module: ClickHouse::Extend::ConnectionHealthy

Included in:
Connection
Defined in:
lib/click_house/extend/connection_healthy.rb

Instance Method Summary collapse

Instance Method Details

#pingObject


6
7
8
# File 'lib/click_house/extend/connection_healthy.rb', line 6

def ping
  get('/ping', database: nil).success?
end

#replicas_statusObject


10
11
12
# File 'lib/click_house/extend/connection_healthy.rb', line 10

def replicas_status
  get('/replicas_status', database: nil).success?
end