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