vector

Function get_hostname

source
pub fn get_hostname() -> Result<String>
Expand description

Returns the host name of the current system. The hostname can be overridden by setting the VECTOR_HOSTNAME environment variable.