Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect usage metrics #17

Open
pulkitsinghal opened this issue Mar 9, 2015 · 1 comment
Open

Collect usage metrics #17

pulkitsinghal opened this issue Mar 9, 2015 · 1 comment

Comments

@pulkitsinghal
Copy link
Contributor

As of now, I don't think that Vend collects API usage metrics. It would be neat to:

  1. collect API usage metrics, based on the number of times a method of the underlying vend-nodejs-sdk is invoked
  2. collect metrics on which commands are used most often

This data can stay on the user's own machine and should only be shared upstream, in an aggregated and anonymous manner ... when a user explicitly decides to share it ... by toggling the shareMyUsageMetrics flag in settings.json to true

@pulkitsinghal
Copy link
Contributor Author

A new line can be added to usageMetrics.json file each time to track a usage event. This should help if a user decides to share metrics after X amount of time after using vend-tools (say a month?) and should make it simple to continue sharing in a semi-live fashion moving forward.

We will probably need some kind of proxy with DB credentials that can avoid DDOS and still tack on authN headers to persist the data in a backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant