Page MenuHomePhabricator

Investigate a version 2 of mwcli usage tracking
Closed, DeclinedPublic

Description

The current usage tracking basically just tracks how many time a command is run
See https://gitlab.wikimedia.org/repos/data-engineering/schemas-event-secondary/-/blob/89e1fc00ff8f375e2e1653ef6f919390500a5c07/jsonschema/analytics/mwcli/command_execute/current.yaml

OS and architecture information, to see how many folks in what environment make use of the CLI

I'd love to track individual installations of the CLI somehow to.
There are some previous discussions at T293583: [mwcli] reporting on usage
Based specifically onT293583#7468020 some sort of fingerprinting might be fine / allowed.
The most useful additional metric would be figuring out how many individual people (or users accounts or devices) use the cli tool.
Some hashed combination of:

  • device username (whoami)
  • device name (hostname)
  • processor ID
  • random salt generated at fist run of the CLI tool / first metric generator

CCing @sguebo_WMF as the person that this was last talked about with

Related Objects