opentelemetry-java icon indicating copy to clipboard operation
opentelemetry-java copied to clipboard

Implement CloudResourceProvider

Open iNikem opened this issue 4 years ago • 4 comments

To provide resource attributes described in Cloud semantic conventions

iNikem avatar Oct 28 '21 19:10 iNikem

Is there a way to do this automatically?

jkwatson avatar Oct 28 '21 19:10 jkwatson

We have AWS resource detector to fill what we can automatically, and presumably need something like that per cloud. I wouldn't expect there to be one single CloudResourceProvider.

I recall @jsuereth having some reason the stackdriver ones can't be moved to this project for now but can't remember the details.

anuraaga avatar Oct 29 '21 02:10 anuraaga

Is there a way to do this automatically?

As @anuraaga pointed out, the big/popular providers make it easy, but I would not expect this to be a universal. The implementations are definitely different, so we'd want multiple detectors and some kind of configuration directive that tells us which one to use....or we could flail them in order and first one wins?

breedx-splk avatar Nov 03 '21 16:11 breedx-splk

It would be great if the various cloud providers could ..provide these implementations and offer to support them (as @anuraaga has done for AWS).

jkwatson avatar Nov 03 '21 17:11 jkwatson