Skip to content

Add telemetry to the CLI #140

@gkpty

Description

@gkpty

In the CLI currently we are completely blind to user behavior.

Add optional user telemetry. The user can opt-in/out of telemtry easily at any moment.

Telemetry when enabled will use oclif hooks to react to certain CLI events and submit data to a gunDB instance. this database will have public write access but private read access.
https://oclif.io/docs/hooks

A user must enter their email address when they run arjan-init --global. By default telemetry will be enabled but the user can easily opt-out by setting telemetry:false in their global (or local) torus config file.

events:
general

  • a command is executed: user, command, response (fail/success), date, command specific data
  • help command is ran

deploy

  • stack type

upload

  • amount of pages / upload
  • average upload size

localize

  • origin language
  • translation languages (array)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions