Skip to content

Add tests to verify activating the tracer without code changes #720

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GSVarsha
Copy link
Contributor

Description

Only checking if instana is present in sys.modules and not explicitly recording/checking if any spans are recorded because any import like from instana.<module> import <method> loads auto-instrumentation here and hence failing the purpose of the intended tests.

… without code changes

Signed-off-by: Varsha GS <varsha.gs@ibm.com>
Signed-off-by: Varsha GS <varsha.gs@ibm.com>
@GSVarsha GSVarsha added dependencies Pull requests that update a dependency file Review & Merge labels Apr 28, 2025
@GSVarsha GSVarsha added this to the H1-2025 milestone Apr 28, 2025
@GSVarsha GSVarsha self-assigned this Apr 28, 2025
@GSVarsha GSVarsha requested a review from a team as a code owner April 28, 2025 07:12
Copy link
Member

@pvital pvital left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Review & Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants