diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 2d9e8e82e6..39999c7e41 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -49,8 +49,8 @@ body:
- OpenTelemetry.PersistentStorage.Abstractions
- OpenTelemetry.PersistentStorage.FileSystem
- OpenTelemetry.ResourceDetectors.AWS
- - OpenTelemetry.ResourceDetectors.Azure
- OpenTelemetry.ResourceDetectors.Container
+ - OpenTelemetry.Resources.Azure
- OpenTelemetry.Resources.Gcp
- OpenTelemetry.Resources.Host
- OpenTelemetry.Resources.Process
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 9e5b95ad58..4dff155b53 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -49,8 +49,8 @@ body:
- OpenTelemetry.PersistentStorage.Abstractions
- OpenTelemetry.PersistentStorage.FileSystem
- OpenTelemetry.ResourceDetectors.AWS
- - OpenTelemetry.ResourceDetectors.Azure
- OpenTelemetry.ResourceDetectors.Container
+ - OpenTelemetry.Resources.Azure
- OpenTelemetry.Resources.Gcp
- OpenTelemetry.Resources.Host
- OpenTelemetry.Resources.Process
diff --git a/.github/codecov.yml b/.github/codecov.yml
index 04587aaeb8..0d3bda059b 100644
--- a/.github/codecov.yml
+++ b/.github/codecov.yml
@@ -114,10 +114,10 @@ flags:
- src/OpenTelemetry.PersistentStorage.Abstractions
- src/OpenTelemetry.PersistentStorage.FileSystem
- unittests-ResourceDetectors.Azure:
+ unittests-Resources.Azure:
carryforward: true
paths:
- - src/OpenTelemetry.ResourceDetectors.Azure
+ - src/OpenTelemetry.Resources.Azure
unittests-Resources.Gcp:
carryforward: true
diff --git a/.github/component_owners.yml b/.github/component_owners.yml
index d9a50eb243..a8261e34b6 100644
--- a/.github/component_owners.yml
+++ b/.github/component_owners.yml
@@ -62,11 +62,11 @@ components:
src/OpenTelemetry.ResourceDetectors.AWS/:
- srprash
- ppittle
- src/OpenTelemetry.ResourceDetectors.Azure/:
- - rajkumar-rangaraj
- - vishweshbankwar
src/OpenTelemetry.ResourceDetectors.Container/:
- iskiselev
+ src/OpenTelemetry.Resources.Azure/:
+ - rajkumar-rangaraj
+ - vishweshbankwar
src/OpenTelemetry.Resources.Host/:
- Kielek
- lachmatt
@@ -152,11 +152,11 @@ components:
test/OpenTelemetry.ResourceDetectors.AWS.Tests/:
- srprash
- ppittle
- test/OpenTelemetry.ResourceDetectors.Azure.Tests/:
- - rajkumar-rangaraj
- - vishweshbankwar
test/OpenTelemetry.ResourceDetectors.Container.Tests/:
- iskiselev
+ test/OpenTelemetry.Resources.Azure.Tests/:
+ - rajkumar-rangaraj
+ - vishweshbankwar
test/OpenTelemetry.Resources.Host.Tests/:
- Kielek
- lachmatt
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b647d2f63d..faffeeb558 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -52,8 +52,8 @@ jobs:
instrumentation-wcf: ['*/OpenTelemetry.Instrumentation.Wcf*/**', 'examples/wcf/**', '!**/*.md']
persistentstorage: ['*/OpenTelemetry.PersistentStorage*/**', '!**/*.md']
resourcedetectors-aws: ['*/OpenTelemetry.ResourceDetectors.AWS*/**', '!**/*.md']
- resourcedetectors-azure: ['*/OpenTelemetry.ResourceDetectors.Azure*/**', '!**/*.md']
resourcedetectors-container: ['*/OpenTelemetry.ResourceDetectors.Container*/**', '!**/*.md']
+ resources-azure: ['*/OpenTelemetry.Resources.Azure*/**', '!**/*.md']
resources-gcp: ['*/OpenTelemetry.Resources.Gcp*/**', '!**/*.md']
resources-host: ['*/OpenTelemetry.Resources.Host*/**', '!**/*.md']
resources-process: ['*/OpenTelemetry.Resources.Process/**', '*/OpenTelemetry.Resources.Process.Tests/**', '!**/*.md']
@@ -409,27 +409,27 @@ jobs:
project-name: Component[OpenTelemetry.ResourceDetectors.AWS]
code-cov-name: ResourceDetectors.AWS
- build-test-resourcedetectors-azure:
+ build-test-resourcedetectors-container:
needs: detect-changes
if: |
- contains(needs.detect-changes.outputs.changes, 'resourcedetectors-azure')
+ contains(needs.detect-changes.outputs.changes, 'resourcedetectors-container')
|| contains(needs.detect-changes.outputs.changes, 'build')
|| contains(needs.detect-changes.outputs.changes, 'shared')
uses: ./.github/workflows/Component.BuildTest.yml
with:
- project-name: Component[OpenTelemetry.ResourceDetectors.Azure]
- code-cov-name: ResourceDetectors.Azure
+ project-name: Component[OpenTelemetry.ResourceDetectors.Container]
+ code-cov-name: ResourceDetectors.Container
- build-test-resourcedetectors-container:
+ build-test-resources-azure:
needs: detect-changes
if: |
- contains(needs.detect-changes.outputs.changes, 'resourcedetectors-container')
+ contains(needs.detect-changes.outputs.changes, 'resources-azure')
|| contains(needs.detect-changes.outputs.changes, 'build')
|| contains(needs.detect-changes.outputs.changes, 'shared')
uses: ./.github/workflows/Component.BuildTest.yml
with:
- project-name: Component[OpenTelemetry.ResourceDetectors.Container]
- code-cov-name: ResourceDetectors.Container
+ project-name: Component[OpenTelemetry.Resources.Azure]
+ code-cov-name: Resources.Azure
build-test-resources-gcp:
needs: detect-changes
@@ -525,8 +525,8 @@ jobs:
|| contains(needs.detect-changes.outputs.changes, 'instrumentation-sqlclient')
|| contains(needs.detect-changes.outputs.changes, 'instrumentation-stackexchangeredis')
|| contains(needs.detect-changes.outputs.changes, 'resourcedetectors-aws')
- || contains(needs.detect-changes.outputs.changes, 'resourcedetectors-azure')
|| contains(needs.detect-changes.outputs.changes, 'resourcedetectors-container')
+ || contains(needs.detect-changes.outputs.changes, 'resources-azure')
|| contains(needs.detect-changes.outputs.changes, 'resources-host')
|| contains(needs.detect-changes.outputs.changes, 'resources-process')
|| contains(needs.detect-changes.outputs.changes, 'resources-processruntime')
@@ -572,9 +572,9 @@ jobs:
build-test-instrumentation-stackexchangeredis-integration,
build-test-instrumentation-wcf,
build-test-persistentstorage,
- build-test-resourcedetectors-azure,
build-test-resourcedetectors-aws,
build-test-resourcedetectors-container,
+ build-test-resources-azure,
build-test-resources-gcp,
build-test-resources-host,
build-test-resources-process,
diff --git a/opentelemetry-dotnet-contrib.sln b/opentelemetry-dotnet-contrib.sln
index a22def56b0..212ae016a2 100644
--- a/opentelemetry-dotnet-contrib.sln
+++ b/opentelemetry-dotnet-contrib.sln
@@ -203,9 +203,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Instrumentati
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Instrumentation.Cassandra.Tests", "test\OpenTelemetry.Instrumentation.Cassandra.Tests\OpenTelemetry.Instrumentation.Cassandra.Tests.csproj", "{FB48DC44-8C56-4329-9988-AEDF931E81E8}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.ResourceDetectors.Azure", "src\OpenTelemetry.ResourceDetectors.Azure\OpenTelemetry.ResourceDetectors.Azure.csproj", "{B07DC3CB-F724-40A5-889A-DA6601F462F3}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Resources.Azure", "src\OpenTelemetry.Resources.Azure\OpenTelemetry.Resources.Azure.csproj", "{B07DC3CB-F724-40A5-889A-DA6601F462F3}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.ResourceDetectors.Azure.Tests", "test\OpenTelemetry.ResourceDetectors.Azure.Tests\OpenTelemetry.ResourceDetectors.Azure.Tests.csproj", "{DFC6A4A9-5262-4507-B747-CC6B814205E6}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Resources.Azure.Tests", "test\OpenTelemetry.Resources.Azure.Tests\OpenTelemetry.Resources.Azure.Tests.csproj", "{DFC6A4A9-5262-4507-B747-CC6B814205E6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Exporter.OneCollector", "src\OpenTelemetry.Exporter.OneCollector\OpenTelemetry.Exporter.OneCollector.csproj", "{73C10993-03AC-42F4-85BB-96EAAA8212D9}"
EndProject
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/.publicApi/PublicAPI.Unshipped.txt b/src/OpenTelemetry.ResourceDetectors.Azure/.publicApi/PublicAPI.Unshipped.txt
deleted file mode 100644
index 742d5f3fed..0000000000
--- a/src/OpenTelemetry.ResourceDetectors.Azure/.publicApi/PublicAPI.Unshipped.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-OpenTelemetry.ResourceDetectors.Azure.AppServiceResourceDetector
-OpenTelemetry.ResourceDetectors.Azure.AppServiceResourceDetector.AppServiceResourceDetector() -> void
-OpenTelemetry.ResourceDetectors.Azure.AppServiceResourceDetector.Detect() -> OpenTelemetry.Resources.Resource!
-OpenTelemetry.ResourceDetectors.Azure.AzureContainerAppsResourceDetector
-OpenTelemetry.ResourceDetectors.Azure.AzureContainerAppsResourceDetector.AzureContainerAppsResourceDetector() -> void
-OpenTelemetry.ResourceDetectors.Azure.AzureContainerAppsResourceDetector.Detect() -> OpenTelemetry.Resources.Resource!
-OpenTelemetry.ResourceDetectors.Azure.AzureVMResourceDetector
-OpenTelemetry.ResourceDetectors.Azure.AzureVMResourceDetector.AzureVMResourceDetector() -> void
-OpenTelemetry.ResourceDetectors.Azure.AzureVMResourceDetector.Detect() -> OpenTelemetry.Resources.Resource!
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/AssemblyInfo.cs b/src/OpenTelemetry.ResourceDetectors.Azure/AssemblyInfo.cs
deleted file mode 100644
index fdeff3214a..0000000000
--- a/src/OpenTelemetry.ResourceDetectors.Azure/AssemblyInfo.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
-
-using System.Runtime.CompilerServices;
-
-#if SIGNED
-[assembly: InternalsVisibleTo("OpenTelemetry.ResourceDetectors.Azure.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010051c1562a090fb0c9f391012a32198b5e5d9a60e9b80fa2d7b434c9e5ccb7259bd606e66f9660676afc6692b8cdc6793d190904551d2103b7b22fa636dcbb8208839785ba402ea08fc00c8f1500ccef28bbf599aa64ffb1e1d5dc1bf3420a3777badfe697856e9d52070a50c3ea5821c80bef17ca3acffa28f89dd413f096f898")]
-#else
-[assembly: InternalsVisibleTo("OpenTelemetry.ResourceDetectors.Azure.Tests")]
-#endif
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/.publicApi/PublicAPI.Shipped.txt b/src/OpenTelemetry.Resources.Azure/.publicApi/PublicAPI.Shipped.txt
similarity index 100%
rename from src/OpenTelemetry.ResourceDetectors.Azure/.publicApi/PublicAPI.Shipped.txt
rename to src/OpenTelemetry.Resources.Azure/.publicApi/PublicAPI.Shipped.txt
diff --git a/src/OpenTelemetry.Resources.Azure/.publicApi/PublicAPI.Unshipped.txt b/src/OpenTelemetry.Resources.Azure/.publicApi/PublicAPI.Unshipped.txt
new file mode 100644
index 0000000000..30a42e0213
--- /dev/null
+++ b/src/OpenTelemetry.Resources.Azure/.publicApi/PublicAPI.Unshipped.txt
@@ -0,0 +1,4 @@
+OpenTelemetry.Resources.AzureResourceBuilderExtensions
+static OpenTelemetry.Resources.AzureResourceBuilderExtensions.AddAppServiceDetector(this OpenTelemetry.Resources.ResourceBuilder! builder) -> OpenTelemetry.Resources.ResourceBuilder!
+static OpenTelemetry.Resources.AzureResourceBuilderExtensions.AddAzureVMDetector(this OpenTelemetry.Resources.ResourceBuilder! builder) -> OpenTelemetry.Resources.ResourceBuilder!
+static OpenTelemetry.Resources.AzureResourceBuilderExtensions.AddAzureContainerAppsDetector(this OpenTelemetry.Resources.ResourceBuilder! builder) -> OpenTelemetry.Resources.ResourceBuilder!
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/AppServiceResourceDetector.cs b/src/OpenTelemetry.Resources.Azure/AppServiceResourceDetector.cs
similarity index 96%
rename from src/OpenTelemetry.ResourceDetectors.Azure/AppServiceResourceDetector.cs
rename to src/OpenTelemetry.Resources.Azure/AppServiceResourceDetector.cs
index 16bf46890a..7a44070de6 100644
--- a/src/OpenTelemetry.ResourceDetectors.Azure/AppServiceResourceDetector.cs
+++ b/src/OpenTelemetry.Resources.Azure/AppServiceResourceDetector.cs
@@ -3,15 +3,14 @@
using System;
using System.Collections.Generic;
-using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
-namespace OpenTelemetry.ResourceDetectors.Azure;
+namespace OpenTelemetry.Resources.Azure;
///
/// Resource detector for Azure AppService environment.
///
-public sealed class AppServiceResourceDetector : IResourceDetector
+internal sealed class AppServiceResourceDetector : IResourceDetector
{
internal static readonly IReadOnlyDictionary AppServiceResourceAttributes = new Dictionary
{
diff --git a/src/OpenTelemetry.Resources.Azure/AssemblyInfo.cs b/src/OpenTelemetry.Resources.Azure/AssemblyInfo.cs
new file mode 100644
index 0000000000..ad59a4686e
--- /dev/null
+++ b/src/OpenTelemetry.Resources.Azure/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+using System.Runtime.CompilerServices;
+
+#if SIGNED
+[assembly: InternalsVisibleTo("OpenTelemetry.Resources.Azure.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010051c1562a090fb0c9f391012a32198b5e5d9a60e9b80fa2d7b434c9e5ccb7259bd606e66f9660676afc6692b8cdc6793d190904551d2103b7b22fa636dcbb8208839785ba402ea08fc00c8f1500ccef28bbf599aa64ffb1e1d5dc1bf3420a3777badfe697856e9d52070a50c3ea5821c80bef17ca3acffa28f89dd413f096f898")]
+#else
+[assembly: InternalsVisibleTo("OpenTelemetry.Resources.Azure.Tests")]
+#endif
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/AzureContainerAppsResourceDetector.cs b/src/OpenTelemetry.Resources.Azure/AzureContainerAppsResourceDetector.cs
similarity index 92%
rename from src/OpenTelemetry.ResourceDetectors.Azure/AzureContainerAppsResourceDetector.cs
rename to src/OpenTelemetry.Resources.Azure/AzureContainerAppsResourceDetector.cs
index a9129630dd..a72c771f9c 100644
--- a/src/OpenTelemetry.ResourceDetectors.Azure/AzureContainerAppsResourceDetector.cs
+++ b/src/OpenTelemetry.Resources.Azure/AzureContainerAppsResourceDetector.cs
@@ -3,15 +3,14 @@
using System;
using System.Collections.Generic;
-using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
-namespace OpenTelemetry.ResourceDetectors.Azure;
+namespace OpenTelemetry.Resources.Azure;
///
/// Resource detector for Azure Container Apps environment.
///
-public sealed class AzureContainerAppsResourceDetector : IResourceDetector
+internal sealed class AzureContainerAppsResourceDetector : IResourceDetector
{
internal static readonly IReadOnlyDictionary AzureContainerResourceAttributes = new Dictionary
{
diff --git a/src/OpenTelemetry.Resources.Azure/AzureResourceBuilderExtensions.cs b/src/OpenTelemetry.Resources.Azure/AzureResourceBuilderExtensions.cs
new file mode 100644
index 0000000000..9fe109a32e
--- /dev/null
+++ b/src/OpenTelemetry.Resources.Azure/AzureResourceBuilderExtensions.cs
@@ -0,0 +1,46 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+using OpenTelemetry.Internal;
+using OpenTelemetry.Resources.Azure;
+
+namespace OpenTelemetry.Resources;
+
+///
+/// Extension methods to simplify registering of Azure resource detectors.
+///
+public static class AzureResourceBuilderExtensions
+{
+ ///
+ /// Enables Azure AppService resource detector.
+ ///
+ /// being configured.
+ /// The instance of being configured.
+ public static ResourceBuilder AddAppServiceDetector(this ResourceBuilder builder)
+ {
+ Guard.ThrowIfNull(builder);
+ return builder.AddDetector(new AppServiceResourceDetector());
+ }
+
+ ///
+ /// Enables Azure VM resource detector.
+ ///
+ /// being configured.
+ /// The instance of being configured.
+ public static ResourceBuilder AddAzureVMDetector(this ResourceBuilder builder)
+ {
+ Guard.ThrowIfNull(builder);
+ return builder.AddDetector(new AzureVMResourceDetector());
+ }
+
+ ///
+ /// Enables Azure Container Apps resource detector.
+ ///
+ /// being configured.
+ /// The instance of being configured.
+ public static ResourceBuilder AddAzureContainerAppsDetector(this ResourceBuilder builder)
+ {
+ Guard.ThrowIfNull(builder);
+ return builder.AddDetector(new AzureContainerAppsResourceDetector());
+ }
+}
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/AzureVMResourceDetector.cs b/src/OpenTelemetry.Resources.Azure/AzureVMResourceDetector.cs
similarity index 93%
rename from src/OpenTelemetry.ResourceDetectors.Azure/AzureVMResourceDetector.cs
rename to src/OpenTelemetry.Resources.Azure/AzureVMResourceDetector.cs
index 2ecbb76a02..05d1666ddf 100644
--- a/src/OpenTelemetry.ResourceDetectors.Azure/AzureVMResourceDetector.cs
+++ b/src/OpenTelemetry.Resources.Azure/AzureVMResourceDetector.cs
@@ -2,15 +2,14 @@
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
-using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
-namespace OpenTelemetry.ResourceDetectors.Azure;
+namespace OpenTelemetry.Resources.Azure;
///
/// Resource detector for Azure VM environment.
///
-public sealed class AzureVMResourceDetector : IResourceDetector
+internal sealed class AzureVMResourceDetector : IResourceDetector
{
internal static readonly IReadOnlyCollection ExpectedAzureAmsFields = new string[]
{
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/AzureVmMetaDataRequestor.cs b/src/OpenTelemetry.Resources.Azure/AzureVmMetaDataRequestor.cs
similarity index 95%
rename from src/OpenTelemetry.ResourceDetectors.Azure/AzureVmMetaDataRequestor.cs
rename to src/OpenTelemetry.Resources.Azure/AzureVmMetaDataRequestor.cs
index ba3ca54877..01b59aac7c 100644
--- a/src/OpenTelemetry.ResourceDetectors.Azure/AzureVmMetaDataRequestor.cs
+++ b/src/OpenTelemetry.Resources.Azure/AzureVmMetaDataRequestor.cs
@@ -5,7 +5,7 @@
using System.Net.Http;
using System.Text.Json;
-namespace OpenTelemetry.ResourceDetectors.Azure;
+namespace OpenTelemetry.Resources.Azure;
internal static class AzureVmMetaDataRequestor
{
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/AzureVmMetadataResponse.cs b/src/OpenTelemetry.Resources.Azure/AzureVmMetadataResponse.cs
similarity index 98%
rename from src/OpenTelemetry.ResourceDetectors.Azure/AzureVmMetadataResponse.cs
rename to src/OpenTelemetry.Resources.Azure/AzureVmMetadataResponse.cs
index 09791edfba..81418c8920 100644
--- a/src/OpenTelemetry.ResourceDetectors.Azure/AzureVmMetadataResponse.cs
+++ b/src/OpenTelemetry.Resources.Azure/AzureVmMetadataResponse.cs
@@ -4,7 +4,7 @@
using System.Text.Json.Serialization;
using OpenTelemetry.Trace;
-namespace OpenTelemetry.ResourceDetectors.Azure;
+namespace OpenTelemetry.Resources.Azure;
internal sealed class AzureVmMetadataResponse
{
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/CHANGELOG.md b/src/OpenTelemetry.Resources.Azure/CHANGELOG.md
similarity index 77%
rename from src/OpenTelemetry.ResourceDetectors.Azure/CHANGELOG.md
rename to src/OpenTelemetry.Resources.Azure/CHANGELOG.md
index 7c9eaf83ea..84d2d32fb1 100644
--- a/src/OpenTelemetry.ResourceDetectors.Azure/CHANGELOG.md
+++ b/src/OpenTelemetry.Resources.Azure/CHANGELOG.md
@@ -2,6 +2,19 @@
## Unreleased
+* **Breaking Change**: Renamed package from `OpenTelemetry.ResourceDetectors.Azure`
+ to `OpenTelemetry.Resources.Azure`.
+ ([#1840](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1840))
+* **Breaking Change**: `AppServiceResourceDetector` type is now internal, use `ResourceBuilder`
+ extension method `AddAppServiceDetector` to enable the detector.
+ ([#1840](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1840))
+* **Breaking Change**: `AzureVMResourceDetector` type is now internal, use `ResourceBuilder`
+ extension method `AddAzureVMResourceDetector` to enable the detector.
+ ([#1840](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1840))
+* **Breaking Change**: `AzureContainerAppsResourceDetector` type is now
+ internal, use `ResourceBuilder` extension method `AddAzureContainerAppsResourceDetector`
+ to enable the detector.
+ ([#1840](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1840))
* Update OpenTelemetry SDK version to `1.8.1`.
([#1668](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1668))
diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/OpenTelemetry.ResourceDetectors.Azure.csproj b/src/OpenTelemetry.Resources.Azure/OpenTelemetry.Resources.Azure.csproj
similarity index 94%
rename from src/OpenTelemetry.ResourceDetectors.Azure/OpenTelemetry.ResourceDetectors.Azure.csproj
rename to src/OpenTelemetry.Resources.Azure/OpenTelemetry.Resources.Azure.csproj
index d615446585..a65a158f8b 100644
--- a/src/OpenTelemetry.ResourceDetectors.Azure/OpenTelemetry.ResourceDetectors.Azure.csproj
+++ b/src/OpenTelemetry.Resources.Azure/OpenTelemetry.Resources.Azure.csproj
@@ -3,7 +3,7 @@
net6.0;netstandard2.0
OpenTelemetry Resource Detectors for Azure cloud environments
$(PackageTags);ResourceDetector
- ResourceDetectors.Azure-
+ Resources.Azure-