Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceDetector ¶
NewResourceDetector returns a resource detector that will detect AWS EC2 resources.
func SemVersion ¶ added in v0.24.0
func SemVersion() string
SemVersion is the semantic version to be supplied to tracer/meter creation.
Types ¶
type Client ¶
type Client interface { Available() bool GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error) GetMetadata(p string) (string, error) }
Client implements methods to capture EC2 environment metadata information.
Click to show internal directories.
Click to hide internal directories.