Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow access to current's node's local interface at /_node/_local/<etc> #824
Right now, to access a given node's local interface, there are two choices:
The latter requires knowing the node's full Erlang -name. But this can be challenging to determine, especially in an automated fashion for tools that are intended to be zero-configuration.
A drawback is what you'd receive hitting the proposed endpoint through a load balancer. An alternative I could think of would be to check if the request originated from
A client should be able to access
The node-local Erlang name must be known before querying node-specific endpoints.
I am writing an extension for netdata, a zero-config/minimal-config localhost monitoring solution. By providing this endpoint the only configuration necessary for a monitoring tool is an admin:password pair.
Filing this in lieu of #821 since that issue would require re-exposing both