getappmap / getappmap/appmap-python

Modules imported by the agent aren't instrumented for the app

Open
#217 1 comment 0 reactions 1 assignee View on GitHub

@apotterri is already working on this.

Since Jan 15, 2023.

appmap-python bug
Dominant language
Python
Stars
104
Forks
17
PR merge metrics
No merged PRs in 30d

Description

A module that's imported by appmap-python won't have it's functions instrumented when it's imported by application code.

For example, appmap-python imports the json library. If an application also imports json, it will use the existing entry from sys.modules. The functions won't be instrumented, which also means they won't be auto-labeled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.