Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate Resource Detectors to auto instrumentation #3172

Closed
ocelotl opened this issue Feb 14, 2023 · 2 comments
Closed

Incorporate Resource Detectors to auto instrumentation #3172

ocelotl opened this issue Feb 14, 2023 · 2 comments
Assignees

Comments

@ocelotl
Copy link
Contributor

ocelotl commented Feb 14, 2023

Right now it is not possible to set Resource Detectors when running with auto instrumentation, add a feature to do that.

@ocelotl ocelotl self-assigned this Feb 14, 2023
@srikanthccv
Copy link
Member

ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Feb 16, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Feb 16, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Feb 16, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Feb 24, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Feb 24, 2023
@ocelotl
Copy link
Contributor Author

ocelotl commented Feb 28, 2023

Closing as suggested.

@ocelotl ocelotl closed this as completed Feb 28, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Mar 13, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Mar 17, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Mar 23, 2023
ocelotl added a commit to ocelotl/opentelemetry-python that referenced this issue Mar 29, 2023
ocelotl added a commit that referenced this issue Mar 31, 2023
* Make entry_points behave the same across Python versions

Fixes #3167

* Refactor function

* Fix mypy

* Incorporate resource detectors to auto instrumentation

This is an experimental feature.

Fixes #3172

* Rename environment variable

* Revert previous commits

* Refactor to use importlib-metadata library

* Use get_aggregate_resources

* Fix mypy

* Add CHANGELOG entry

* Fix typo in environment variable

* Add OTELResourceDetector by default

* Move to unreleased section

* Fix entry point name in the documentation

* Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py

Co-authored-by: Srikanth Chekuri <[email protected]>

---------

Co-authored-by: Srikanth Chekuri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants