module Kongkit::Client::Node
Public Instance Methods
node_information()
click to toggle source
Retrieve node information
Retrieve generic details about a node.
@see getkong.org/docs/0.8.x/admin-api/#retrieve-node-information @return [Kongkit::Client::Resource] Node
information
# File lib/kongkit/client/node.rb, line 10 def node_information get('/') end
node_status()
click to toggle source
Retrieve node status
Retrieve usage information about a node, with some basic information about the connections being processed by the underlying nginx process, and the number of entities stored in the datastore collections (including plugin's collections).
If you want to monitor the Kong process, since Kong is built on top of nginx, every existing nginx monitoring tool or agent can be used.
@see getkong.org/docs/0.8.x/admin-api/#retrieve-node-status @return [Kongkit::Client::Resource] Node
status
# File lib/kongkit/client/node.rb, line 26 def node_status get('/status') end