aws_xray_sdk.core.plugins.ec2_plugin

Module Contents

log
SERVICE_NAME = ec2
ORIGIN = AWS::EC2::Instance
initialize()

Try to get EC2 instance-id and AZ if running on EC2 by querying http://169.254.169.254/latest/meta-data/. If not continue.