diff --git a/instana/__init__.py b/instana/__init__.py index 2dd0411d..9aa9ff8a 100644 --- a/instana/__init__.py +++ b/instana/__init__.py @@ -25,7 +25,8 @@ Recorder """ -pkg_resources.working_set.add_entry("/tmp/instana/python") +if "INSTANA_MAGIC" in os.environ: + pkg_resources.working_set.add_entry("/tmp/instana/python") __author__ = 'Instana Inc.' __copyright__ = 'Copyright 2018 Instana Inc.'