How to access information about current server/worker from within a flow

Folks,

We want to be sure at any time that we are working in DEV or PROD environments.

We want to access some information about the server/worker we are running in.

we can access the IP of course but that’s not much use. Can we get the full server address or something similar?

try {
InetAddress id = InetAddress.getLocalHost();
logWarn("the hostname is " + id.getHostName());
} catch (UnknownHostException e) {
logWarn("cannot get hostname");
}