Add insight dependency to anonymously report usage metrics #34
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:
Good idea, looking at the readme, I think you create URLs to display info about specific commands?
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
git clone email@example.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.
insight.track('MODULE_NAME_SUFFIX', 'FUNCTION_NAME') # Example insight.track('ncbi', 'search')
Also add tracking to CLI.