Function vector::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.
pub fn get_hostname() -> Result<String>
Returns the host name of the current system. The hostname can be overridden by setting the VECTOR_HOSTNAME environment variable.