We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c746087 commit b46d22aCopy full SHA for b46d22a
aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py
@@ -102,12 +102,13 @@ def _initialize_components(auto_instrumentation_version):
102
try:
103
resource = get_aggregated_resources(
104
[
105
- # AwsEc2ResourceDetector(),
+ AwsEc2ResourceDetector(),
106
# AwsEksResourceDetector(),
107
# AwsEcsResourceDetector(),
108
]
109
).merge(Resource.create(auto_resource))
110
- except:
+ except Exception as e:
111
+ print(e)
112
print("An error occur when creating resource, can ignore this when deal with contract-tests")
113
resource: Resource = Resource.create(auto_resource)
114
print("before_sampler")
0 commit comments