Skip to content

Commit

Permalink
fix: increase ec2 resource detector timeout (open-telemetry#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
willarmiros authored Nov 1, 2021
1 parent 9a4a44a commit 9855161
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class AwsEc2Detector implements Detector {
readonly AWS_INSTANCE_HOST_DOCUMENT_PATH = '/latest/meta-data/hostname';
readonly AWS_METADATA_TTL_HEADER = 'X-aws-ec2-metadata-token-ttl-seconds';
readonly AWS_METADATA_TOKEN_HEADER = 'X-aws-ec2-metadata-token';
readonly MILLISECOND_TIME_OUT = 1000;
readonly MILLISECOND_TIME_OUT = 5000;

/**
* Attempts to connect and obtain an AWS instance Identity document. If the
Expand Down

0 comments on commit 9855161

Please sign in to comment.