Skip to content

Commit

Permalink
Debug log line
Browse files Browse the repository at this point in the history
  • Loading branch information
ADOT Patch workflow committed Feb 26, 2024
1 parent 7d29a31 commit 5b4bf9e
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,14 @@ def _initialize_components(auto_instrumentation_version):
auto_resource[ResourceAttributes.TELEMETRY_AUTO_VERSION] = auto_instrumentation_version
print("before_get_resource")

resource = get_aggregated_resources(
[
AwsEc2ResourceDetector(),
AwsEksResourceDetector(),
AwsEcsResourceDetector(),
]
).merge(Resource.create(auto_resource))
# resource = get_aggregated_resources(
# [
# AwsEc2ResourceDetector(),
# AwsEksResourceDetector(),
# AwsEcsResourceDetector(),
# ]
# ).merge(Resource.create(auto_resource))
resource: Resource = Resource.create(auto_resource)
print("before_sampler")

sampler_name = _get_sampler()
Expand Down

0 comments on commit 5b4bf9e

Please sign in to comment.