[Thunderbird Telemetry] collect filelink usage: size sent total, times not used even though size was above threshold
Categories
(Thunderbird :: FileLink, task)
Tracking
(Not tracked)
People
(Reporter: mkmelin, Assigned: rnons)
Details
Attachments
(1 file, 3 obsolete files)
11.00 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
Would be useful to know how much the filelink feature is used. Let's collect the typical sizes sent, and for which sizes people don't want to use it.
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
This patch added
- a probe to collect total file size in bytes uploaded to filelink providers
- a probe to collect how many times filelink suggestion are ignored
Reporter | ||
Comment 2•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #2)
I think it would be good to add one more thing: the display name of the
provider used: cloudFileAccounts.getDisplayName(cloudFileAccount).
That may require changing the data structure a bit.
Seems to me both keyed scalar and histogram require pre-defined key/label list, so we can only collect wetransfer and existing filelink extensions providers. Is that alright? I will probably use histogram probe.
Reporter | ||
Comment 4•5 years ago
|
||
Or should it be events? https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/collection/events.html#recordevent
This could record the event with provider name + size
Assignee | ||
Comment 5•5 years ago
|
||
Found out that for keyed scalar, even when keyed: true
, keys
field is still optional. So I think it's suitable here.
Also changed tb.filelink.ignored
to mean big attachment is sent without using filelink.
Reporter | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Fixed now. Thx
Reporter | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Fixed. As account name can be easily modified, changed to use cloudFileAccount.type
as key of tb.filelink.uploaded_size
.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/26f9f28bdccc
Collect filelink usage: total file uploaded and ignored times. r=mkmelin
Description
•