From 9837c95d129e6edaf1f04b43c29f0b7ce4322d7c Mon Sep 17 00:00:00 2001 From: Michael He Date: Wed, 9 Apr 2025 17:06:09 +0000 Subject: [PATCH 1/2] chore: Add AWS resource detector to releases --- .toys/.data/releases.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.toys/.data/releases.yml b/.toys/.data/releases.yml index b37a36c2fb..231b8c3f16 100644 --- a/.toys/.data/releases.yml +++ b/.toys/.data/releases.yml @@ -241,6 +241,11 @@ gems: directory: propagator/xray version_constant: [OpenTelemetry, Propagator, XRay, VERSION] + - name: opentelemetry-resource-detector-aws + directory: resources/aws + version_rb_path: lib/opentelemetry/resource/detector/aws/version.rb + version_constant: [OpenTelemetry, Resource, Detector, AWS, VERSION] + - name: opentelemetry-resource-detector-azure directory: resources/azure version_rb_path: lib/opentelemetry/resource/detector/azure/version.rb From 4a50d7cadd1fbd88cf25f19e1fc1b7a0c017d541 Mon Sep 17 00:00:00 2001 From: Michael He Date: Wed, 9 Apr 2025 17:54:02 +0000 Subject: [PATCH 2/2] add additional files for release --- resources/aws/.rubocop.yml | 1 + resources/aws/.yardopts | 9 +++++++++ resources/aws/CHANGELOG.md | 1 + 3 files changed, 11 insertions(+) create mode 100644 resources/aws/.rubocop.yml create mode 100644 resources/aws/.yardopts create mode 100644 resources/aws/CHANGELOG.md diff --git a/resources/aws/.rubocop.yml b/resources/aws/.rubocop.yml new file mode 100644 index 0000000000..1248a2f825 --- /dev/null +++ b/resources/aws/.rubocop.yml @@ -0,0 +1 @@ +inherit_from: ../../.rubocop.yml diff --git a/resources/aws/.yardopts b/resources/aws/.yardopts new file mode 100644 index 0000000000..7bef64583f --- /dev/null +++ b/resources/aws/.yardopts @@ -0,0 +1,9 @@ +--no-private +--title=OpenTelemetry Resource Detector AWS +--markup=markdown +--main=README.md +./lib/opentelemetry/resource/detector/**/*.rb +./lib/opentelemetry/resource/detector.rb +- +README.md +CHANGELOG.md diff --git a/resources/aws/CHANGELOG.md b/resources/aws/CHANGELOG.md new file mode 100644 index 0000000000..dc6e4b252f --- /dev/null +++ b/resources/aws/CHANGELOG.md @@ -0,0 +1 @@ +# Release History: opentelemetry-resource-detector-aws