Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostnameFromAttributes ¶
func HostnameFromAttributes(attrs pdata.AttributeMap) (string, bool)
HostnameFromAttributes gets a valid hostname from labels if available
Types ¶
type HostInfo ¶
HostInfo holds the GCP host information.
func HostInfoFromAttributes ¶
func HostInfoFromAttributes(attrs pdata.AttributeMap) (hostInfo *HostInfo)
HostInfoFromAttributes gets GCP host info from attributes following OpenTelemetry semantic conventions
Click to show internal directories.
Click to hide internal directories.