Description
Most cloud providers provide a metadata endpoint that allows to build resource information,
however in Java contrib repo we only have an implementation for AWS.
For example, in the js contrib repo, we can see there are other implementations in https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node : alibaba, gcp and aws (I haven't looked at their respective implementations though).
The goal here is to add implementations for the most common cloud providers.
Initially the focus will be on the following cloud providers: AWS, GCP and Azure with the following task breakdown
- AWS: already available in main/aws-resources.
- GCP Add GCP resource detection module #1162
- finding a pair of component owners
- adding/build implementation
- Azure
- finding a pair of component owners: @trask already volunteered here, so only one more is needed.
- adding/build implementation Azure resource providers #1228
Other cloud providers can of course be added later, but should be tracked independently.
Collector implementations that can be used for reference : https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor
for triage: This issue can be assigned to me.