How to track instances from outside libraries?

Hi guys!
Please could you help to understand if there any plugin which track external instances from other libraries?

For example: We have “A” & “B” libraries with components in there. By creation of new document we attached library “A” to it.

Question: how we can track instances, which came to document from “B” library?

Thanks for help!