Add metric(s) to report networking errors when sending pings
Categories
(Data Platform and Tools :: Glean: SDK, defect, P1)
Tracking
(Not tracked)
People
(Reporter: mdroettboom, Assigned: brizental)
References
Details
(Whiteboard: [telemetry:glean-rs:m16])
Attachments
(2 files)
3.93 KB,
text/plain
|
chutten
:
data-review+
|
Details |
41 bytes,
text/x-github-pull-request
|
Details | Review |
It might be useful to have counter metrics that report:
- Number of 5xx errors
- Number of networking timeouts
These would not appear on the ping being sent, but on subsequent pings.
Open question: Should these be on the metrics ping or the baseline ping?
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
Note: I'm proceeding with the data review on this now, but it might be most efficient to handle the implementation of this after the refactoring of the uploaders to move more things into Rust.
Reporter | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•4 years ago
•
|
||
I see this includes a "timeout" counter. We don't currently catch specifically timeout errors (at least not in Kotlin). What did you have in mind for this Mike? 408 / 504 status codes?
Assignee | ||
Updated•4 years ago
|
Reporter | ||
Comment 5•4 years ago
|
||
It looks like timeouts throw a java.net.SocketTimeoutException
(see here, which is a subclass of IOException
, so they end up in the catch block we have for that. We should probably catch timeouts specifically and report that through this mechanism. But maybe there are other kinds of IOExceptions we also should report through this mechanism...
Comment 6•4 years ago
|
||
That's for java.net
only. Fenix replaces the uploader with a Gecko/Necko-powered one.
We would need to provide it in our reporting API to pass along this information, and then also update our consumers.
Assignee | ||
Comment 7•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Description
•