Import the GCP resource detector class
Description
Import a resource detector class for GCP. This change doesn't add any new code. It's re-exporting a package that is in the downstream GCP repo. This lets the GCP resource detector be loaded in via the "opentelemetry_resource_detector" entrypoint used here
Fixes # (issue)
Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [X ] This change requires a documentation update
How Has This Been Tested?
n/a
Does This PR Require a Core Repo Change?
- [ ] Yes. - Link to PR:
- [ X] No.
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.
- [ X] Followed the style guidelines of this project
- [ X] Changelogs have been updated
- [X ] Unit tests have been added
- [X ] Documentation has been updated
- :x: - login: @DylanRussell . The commit (20254a7544290f774d4b269b1160531c3186e097) is not authorized under a signed CLA. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.
Why are we taking the burden of maintaining an empty package upstream just for a re-export? Why not defining the entry point in your package so that people interested can just use it? I'm a user of the gcp resource detector and defining the entry point myself in my package.
Yeah that is a good question. The other langugage contrib repo's have the GCP resource detector class, and it's weird that this one doesn't. I think putting it here makes it more discoverable.
I'm not sure how the versioning of this package would work.. Do we just keep the version forever pinned at 0.1 ? Do we have to bump the version everytime we bump the alias ? Keeping the 2 in sync is annoying
I'm not sure how the versioning of this package would work.. Do we just keep the version forever pinned at 0.1 ? Do we have to bump the version everytime we bump the alias ? Keeping the 2 in sync is annoying
We can release packages independently and put whatever versions you want