Closed Bug 1090762 Opened 10 years ago Closed 5 years ago

Add telemetry for FTP usage

Categories

(Core Graveyard :: Networking: FTP, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1579507

People

(Reporter: jduell.mcbugs, Unassigned)

References

Details

(Whiteboard: [necko-backlog])

Attachments

(1 file)

We want to get a sense of how often FTP is still being used.  I'm thinking two metrics are good enough here:

  1) Did we use FTP one or more times in the current browser session?
  2) Did we use FTP directory listings specifically? (vs just downloading a file from a link)

If daily usage is possible, that's nicer, but even per session would be a start.
Assignee: nobody → daniel
First shot. This adds two counters, FTP_CONNECT for "connect" (including the use of a cached version) and FTP_LIST for counting actual directory listing commands used.

As a complete Telemetry newbie, I of course welcome all and any feedback.
Attachment #8515911 - Flags: feedback?(jduell.mcbugs)
Comment on attachment 8515911 [details] [diff] [review]
0001-bug-1090762-Add-telemetry-for-FTP-usage-r-jduell.patch

Review of attachment 8515911 [details] [diff] [review]:
-----------------------------------------------------------------

Patrick, do you have an opinion here?  I was thinking we'd try to break down FTP usage not just by absolute #s but by the % of browser sessions (or % of days when a user uses FTP).
Attachment #8515911 - Flags: feedback?(mcmanus)
Attachment #8515911 - Flags: feedback?(jduell.mcbugs)
Attachment #8515911 - Flags: feedback+
we can add telemetry, sure.

but the question I always ask is at what # or percentage is it ok to require an add-on?
Comment on attachment 8515911 [details] [diff] [review]
0001-bug-1090762-Add-telemetry-for-FTP-usage-r-jduell.patch

Review of attachment 8515911 [details] [diff] [review]:
-----------------------------------------------------------------

this patch doesn't give us any comparables (pct of sessions for example..) its just a raw hit count - which I don't see how it helps us.

don't get me wrong, there is a lot of code in the ftp directory that is lightly used and highly risky.. it would be good to get rid of. I worry about the competitive aspect.

Could we work with an add-on author to distribute a js based ftp implementation already written?
Attachment #8515911 - Flags: feedback?(mcmanus) → feedback-
it would be good to get this in
Flags: needinfo?(daniel)
ack, I'll move it up on my TODO list...
Flags: needinfo?(daniel)
I think kind: "flag" is the type of probe we need here.
Whiteboard: [necko-active]
Assignee: daniel → nobody
Whiteboard: [necko-active] → [necko-backlog]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Blocks: 1570155

Can't this be duped to bug 1579507, which is now done?

Flags: needinfo?(nhnguyen)
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(nhnguyen)
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: