Node information
Get system information about a node
Section titled “Get system information about a node”Retrieve information about the software and hardware environment of the Erlang node including operating system and Erlang versions, processor bit size, etc.
Definition
Section titled “Definition”GET /api/node-infos/node/NODE_ID/node-infoExample request
Section titled “Example request”curl -X GET "http://127.0.0.1:8080/api/node-infos/node/956549c6-89bb-4ee0-a34b-c5a772ef78fa/node-info" \ -u admin:PASSWORDExample response
Section titled “Example response”{ "nodeInfo": { "os_type": "unix", "os_descr": "OS X 12.4", "kernel_version": "21.5.0", "n_cores": "4", "otp_version": "22", "system_version": "Erlang/OTP 22 [erts-10.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]\n", "ets_limit": "8192", "process_limit": "262144", "port_limit": "65536", "driver_version": "3.3", "machine": "BEAM", "smp_support": "true", "wordsize": "64", "compat_rel": "22", "hostname": "Zsombors-MBP", "ip": "10.154.0.17", "architecture": "x86_64-apple-darwin21.5.0", "release_name": "Erlang/OTP", "release_version": "22", "atom_limit": "1048576" }}Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
| node ID | Required. The identifier of the node to be retrieved. |
Returns
Section titled “Returns”A nodeInfo object if a valid identifier was provided. The values of the
attributes are strings.
Get the metric limits for a node
Section titled “Get the metric limits for a node”Retrieve all the available metric limits of the Erlang node.
Definition
Section titled “Definition”GET /api/node-infos/node/NODE_ID/metric-limits"Example request
Section titled “Example request”curl -X GET "http://127.0.0.1:8080/api/node-infos/node/956549c6-89bb-4ee0-a34b-c5a772ef78fa/metric-limits" \ -u admin:PASSWORDExample response
Section titled “Example response”{ "nodeInfo": { "cpu_avg1": "4", "ets_count": "8192", "process_count": "262144", "open_ports": "65536", "atom_count": "1048576" }}Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
| node ID | Required. The identifier of the node to be retrieved. |
Returns
Section titled “Returns”An array of tuples with every metric associated to its limit value.
