4 ms·
Ask HN: What do you use for analytics of your CLI tool?
# Context
I built a small CLI tool that I will distribute via Pypi. I would like to measure usage to inform future feature decisions.
# Question
What tools do people use to collect usage analytics on their CLI tools?
# Restrictions
I do not want to:
- Authenticate users
- Retain user identifiable data
# Limitations
I've looked at Amplitude, but you're supposed to put your API key there and my package is meant to be open source (the code, and therefore the key, will be public).
- Raed667 4y agoI have used both Sentry and Elastic APM with quite some ease.
- philomath_mn 4y agoHow do you handle the DSN for Sentry? Seems like that'd be difficult for a pypi distribution
- Raed667 4y agoFrom the doc > DSNs are safe to keep public because they only allow submission of new events and related event data; they do not allow read access to any information. https://docs.sentry.io/product/sentry-basics/dsn-explainer/ https://docs.sentry.io/product/sentry-basics/dsn-explainer/
- digianarchist 4y agoHomebrew uses Google.