Closed Bug 1477322 Opened 8 years ago Closed 3 years ago

Instrument more details of execution in the Web Console with event telemetry

Categories

(DevTools :: Console, enhancement, P2)

57 Branch
enhancement

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: Harald, Unassigned)

References

(Blocks 1 open bug)

Details

User Story

Track special console command usage
Track type of returns (informed by either JS typeof or reps information)
For tracking the success of improvements on the Console input we need to know how users use it. Properties collected should be: - Number of Lines - Maybe: What got returned?
Given the prior work on adding Console metrics to events.yaml, how would you estimate this work?
Flags: needinfo?(nchevobbe)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Was this supposed to log what we now call commands, i.e. :screenshot and :help ?
Flags: needinfo?(nchevobbe)
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #3) > Was this supposed to log what we now call commands, i.e. :screenshot and > :help ? The data peers wouldn't allow that, which is why we only log the number of lines. Logging what is returned was also impracticable... imagine returning a whole Window object. Which is why we only return the number of lines executed.
> The data peers wouldn't allow that, which is why we only log the number of lines. Unfiltered strings are not allowed, for good reasons. The goal of this would be tracking usage of special commands like `copy` or `:screenshot`, which is a narrow and well-defined list. > Logging what is returned was also impracticable... imagine returning a whole Window object. > - Maybe: What got returned? typeof or instance would be enough to get an idea of how users console usage looks like. Even richer types could be driven by reps (like the list from https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Rich_output). I updated the bug to reflect that.
Status: RESOLVED → REOPENED
User Story: (updated)
Resolution: DUPLICATE → ---
Summary: Instrument execution of commands in the Web Console with event telemetry → Instrument more details of execution in the Web Console with event telemetry
Severity: normal → S3
Status: REOPENED → RESOLVED
Closed: 8 years ago → 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.