-
Notifications
You must be signed in to change notification settings - Fork 798
Closed
Description
opentelemetry-sdk-extension-aws resource detectors tend to be quite vocal at startup when run outside the expected environment, this is not very helpful if one may want to enable this generally. Would be better to just be silent if we can detect that we are outside the expect environment instead.
Loading most of the resource detectors gets the following errors:
- AwsEcsResourceDetector failed: Missing ECS_CONTAINER_METADATA_URI therefore process is not on ECS. opentelemetry-sdk-extension-aws: make ecs and beanstalk resource detector silent when loaded outside AWS #3076
- AwsBeanstalkResourceDetector failed: [Errno 2] No such file or directory: '/var/elasticbeanstalk/xray/environment.conf' opentelemetry-sdk-extension-aws: make ecs and beanstalk resource detector silent when loaded outside AWS #3076
- AwsEc2ResourceDetector failed: <urlopen error [Errno 113] No route to host>
- Failed to get k8s token: [Errno 2] No such file or directory: '/var/run/secrets/kubernetes.io/serviceaccount/token'
AwsEksResourceDetector failed: [Errno 2] No such file or directory: '/var/run/secrets/kubernetes.io/serviceaccount/token': opentelemetry-sdk-extension-aws: make eks detector less chatty #3074
Most of them should be easily avoidable
Metadata
Metadata
Assignees
Labels
No labels