opentelemetry-java
opentelemetry-java copied to clipboard
Implement CloudResourceProvider
Is there a way to do this automatically?
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.
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?
It would be great if the various cloud providers could ..provide these implementations and offer to support them (as @anuraaga has done for AWS).