-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v3.4.8
Feature type
New functionality
Proposed functionality
On startup, log the following metrics to census.netbox.dev using an HTTP POST request. (This collector is operated and maintained by the NetBox maintainers team.)
- NetBox version
- Python version
- Random unique ID
This anonymized data will be collected and aggregated for analysis purposes (described below). This is very similar in nature to how many other open source applications track their user base. Only one log message will be sent per NetBox worker instance.
Additionally, introduce a CENSUS_REPORTING_ENABLED configuration parameter, which defaults to True. Setting this to False will disable all census reporting.
Use case
Ever since its initial open source release, we've struggled to ascertain just how many NetBox deployments exist in the world. (The closest analog we have is GitHub stars, which is of very limited utility.) Having NetBox automatically report this anonymized data will allow us to:
- Form a rough idea about how many NetBox deployments exist
- Measure the average intervals between version upgrades
- Determine how long an old release remains in use (eventually)
- Gauge resistance to the adoption of newer Python releases
Database changes
None
External dependencies
None; it should be feasible to implement a lightweight logging function natively.