# Functions
NewResourceDetector returns a resource detector that will detect AWS EC2 resources.
SemVersion is the semantic version to be supplied to tracer/meter creation.
Version is the current release version of the EC2 resource detector.
WithClient sets the ec2metadata client in config.