Add insight dependency to anonymously report usage metrics #34
Comments
Good idea, looking at the readme, I think you create URLs to display info about specific commands? So like insight.track('ncbi', 'download') and insight.track('ncbi', 'search') for the NCBI module would count how many times specific commands were called? And at a more basic level, keep track of which modules are being installed. Could also be cool to get CLI vs. require metrics. Is this something that is triggered after |
It would help if you have the bionode-ncbi example implementation somehow documented here. |
Do: git clone git@github.com:bionode/bionode-MODULE_NAME.git
cd bionode-MODULE_NAME
npm install --save-dev insight Then add to the lib folder the anonymous-tracking.js file. Require that file in the main module JS file. insight.track('MODULE_NAME_SUFFIX', 'FUNCTION_NAME')
# Example
insight.track('ncbi', 'search') Also add tracking to CLI. |
We should probably add yeoman/insight ASAP to all modules with .askPermission() enabled by default. This data could be very useful when applying for future grants.
The text was updated successfully, but these errors were encountered: