Skip to content

Flutter Doctor should report more fine-grained analytics #26029

@eseidelGoogle

Description

@eseidelGoogle

It occurred to me that we might be able to better optimize for some common setup pitfalls with a bit more analytics data from flutter doctor. As I understand it, right now the only thing it reports is that the command was run. It should be straightforward to report very generic/non-personally-identifiable information about which classes of failures a given fluter doctor run hits.

This could tell us things such as:

  • What % of Flutter users complete setup of iOS vs. Android.
  • Total time from first run of Flutter doctor to zero errors (or a stable set of errors)
  • Frequency of certain (possibly) common error conditions such as lacking 32-bit libraries on linux, or lacking brew on Mac, etc.
  • Set of / # of outstanding issues on any given platform (windows, linux, mac), etc.
  • Frequency of triggering of certain classes of doctor issue detectors.

Unclear if this is of use, just struck me the other day as a possible easy/safe/user-helpful thing to gather.

@InMatrix @mit-mit feel free to close if this does not strike you as immediately useful.

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityfrom: studyReported in a UX studyt: flutter doctorProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions