You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The resource detection processor has support for gathering metadata from AWS and GCE cloud services. It would be useful to also have support for Azure metadata: there are already some Azure-specific semantic conventions on the specification and it would make sense to add a detector for this platform too.
Describe the solution you'd like
Similarly to other cloud providers, Azure has the Instance Metadata Service where one can query information about a certain VM.
A new detector, azure is created to gather Azure VM instance metadata. Using the instance metadata the following fields could be set:
cloud.provider set to azure (if the query is successful),
cloud.account.id, the Azure subscription ID,
cloud.region and/or cloud.zone,
host.id, the Azure VM ID,
host.name and
host.type.
Describe alternatives you've considered
Create a new component only for Azure or query the endpoint directly from components that need it.
The text was updated successfully, but these errors were encountered:
Create Azure resource detector for gathering metadata from the [Azure IMDS](https://aka.ms/azureimds).
Due to Azure/azure-sdk-for-go#982 we have to query the endpoint manually.
**Link to tracking Issue:** Fixes#2326
**Testing:** Added unit tests. Tested end to end with provided sample configuration on an Azure VM.
Create Azure resource detector for gathering metadata from the [Azure IMDS](https://aka.ms/azureimds).
Due to Azure/azure-sdk-for-go#982 we have to query the endpoint manually.
**Link to tracking Issue:** Fixes#2326
**Testing:** Added unit tests. Tested end to end with provided sample configuration on an Azure VM.
Is your feature request related to a problem? Please describe.
The resource detection processor has support for gathering metadata from AWS and GCE cloud services. It would be useful to also have support for Azure metadata: there are already some Azure-specific semantic conventions on the specification and it would make sense to add a detector for this platform too.
Describe the solution you'd like
Similarly to other cloud providers, Azure has the Instance Metadata Service where one can query information about a certain VM.
A new detector,
azure
is created to gather Azure VM instance metadata. Using the instance metadata the following fields could be set:cloud.provider
set toazure
(if the query is successful),cloud.account.id
, the Azure subscription ID,cloud.region
and/orcloud.zone
,host.id
, the Azure VM ID,host.name
andhost.type
.Describe alternatives you've considered
Create a new component only for Azure or query the endpoint directly from components that need it.
The text was updated successfully, but these errors were encountered: