kong.node
Returns the ID used by this node to describe itself.
Returns
- : The v4 UUID used by this node as its ID.
Returns memory usage statistics about this node.
Parameters
- unit (
string
, optional): The unit that memory is reported in. Can be any ofb/B
,k/K
, , org/G
for bytes, kibibytes, mebibytes, or gibibytes, respectively. Defaults tob
(bytes).
- : A table containing memory usage statistics for this node. If
unit
isb/B
(the default), reported values are Lua numbers. Otherwise, reported values are strings with the unit as a suffix.
Usage
Returns the name used by the local machine.
string
: The local machine hostname.
Usage