Closed
Bug 1186492
Opened 9 years ago
Closed 9 years ago
Add a probe to track client-side ping eviction due to server errors
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
People
(Reporter: Dexter, Assigned: Dexter)
References
Details
(Whiteboard: [unifiedTelemetry] [uplift4])
Attachments
(2 files, 1 obsolete file)
2.45 KB,
patch
|
Dexter
:
review+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
3.56 KB,
patch
|
gfritzsche
:
review+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We should track how many times TelemetrySend fails to send pings due to 4xx, 5xx or other errors [1]. [1] - https://hg.mozilla.org/mozilla-central/annotate/8e5c888d0d89/toolkit/components/telemetry/TelemetrySend.jsm#l880
Updated•9 years ago
|
Whiteboard: [unifiedTelemetry]
Comment 1•9 years ago
|
||
Can we expand on what this information is to be used for? Shouldn't we track the different failures on the server-side?
Comment 2•9 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] [away until july 22] from comment #1) > Can we expand on what this information is to be used for? > Shouldn't we track the different failures on the server-side? Or is this specifically about tracking how often we delete pings due to those circumstances?
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] [away until july 22] from comment #2) > Or is this specifically about tracking how often we delete pings due to > those circumstances? Yes, this is to track that, as it could affect session chaining.
Flags: needinfo?(alessio.placitelli)
Updated•9 years ago
|
Summary: Add a probe to track server errors on the client → Add a probe to track client-side ping eviction due to server errors
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → alessio.placitelli
Assignee | ||
Updated•9 years ago
|
Assignee: alessio.placitelli → nobody
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → alessio.placitelli
Updated•9 years ago
|
Whiteboard: [unifiedTelemetry] → [unifiedTelemetry] [uplift4]
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8640603 -
Flags: review?(gfritzsche)
Comment 5•9 years ago
|
||
Comment on attachment 8640603 [details] [diff] [review] bug1186492.patch Review of attachment 8640603 [details] [diff] [review]: ----------------------------------------------------------------- This looks ok, with the below resolved. We need to add test-coverage for this though, i assume its not too hard to make the test server return a 4xx code. ::: toolkit/components/telemetry/Histograms.json @@ +4744,5 @@ > "kind": "count", > "keyed": true, > "description": "Count of individual invalid ping types that were submitted to Telemetry." > }, > + "TELEMETRY_SERVER_ERRORS_PING_FILES_EVICTED": { TELEMETRY_PING_EVICTED_FOR_SERVER_ERRORS ? @@ +4748,5 @@ > + "TELEMETRY_SERVER_ERRORS_PING_FILES_EVICTED": { > + "alert_emails": ["telemetry-client-dev@mozilla.com"], > + "expires_in_version": "never", > + "kind": "count", > + "description": "Number of Telemetry pings files evicted due to server errors (4XX HTTP code received)" Nit: "ping files"
Attachment #8640603 -
Flags: review?(gfritzsche) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8640603 -
Attachment is obsolete: true
Attachment #8641059 -
Flags: review+
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8641060 -
Flags: review?(gfritzsche)
Updated•9 years ago
|
Attachment #8641060 -
Flags: review?(gfritzsche) → review+
Updated•9 years ago
|
Iteration: --- → 42.3 - Aug 10
Assignee | ||
Comment 8•9 years ago
|
||
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f884fa9479ee
https://hg.mozilla.org/integration/fx-team/rev/54d3c0137056 https://hg.mozilla.org/integration/fx-team/rev/5ad2d34c58b1
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/54d3c0137056 https://hg.mozilla.org/mozilla-central/rev/5ad2d34c58b1
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•9 years ago
|
status-firefox40:
--- → wontfix
status-firefox41:
--- → affected
Comment 11•9 years ago
|
||
Comment on attachment 8641059 [details] [diff] [review] part 1 - Add the probe Approval Request Comment [Feature/regressing bug #]: Telemetry Unification [User impact if declined]: This adds diagnostics for when we discard pings because the Telemetry server returned a 4xx status code - we need this for validating the incoming data and detecting issues. It is part of a mostly fixup & diagnostic uplift batch for 41: http://bit.ly/1LYhA16 [Describe test coverage new/current, TreeHerder]: We have automated test-coverage, it baked on Nightly, we are monitoring it. [Risks and why]: Low-risk, we haven't seen anything crop up on Nightly here. [String/UUID change made/needed]: None.
Attachment #8641059 -
Flags: approval-mozilla-aurora?
Comment 12•9 years ago
|
||
Comment on attachment 8641060 [details] [diff] [review] part 2 - Add test coverage Approval Request Comment [Feature/regressing bug #]: Telemetry Unification [User impact if declined]: This adds tests for the probe. It is part of a mostly fixup & diagnostic uplift batch for 41: http://bit.ly/1LYhA16 [Describe test coverage new/current, TreeHerder]: We have automated test-coverage, it baked on Nightly, we are monitoring it. [Risks and why]: Low-risk, we haven't seen anything crop up on Nightly here. [String/UUID change made/needed]: None.
Attachment #8641060 -
Flags: approval-mozilla-aurora?
Comment on attachment 8641060 [details] [diff] [review] part 2 - Add test coverage [Triage Comment] More automated tests are always a good thing. Approved for uplift to m-b.
Attachment #8641060 -
Flags: approval-mozilla-aurora? → approval-mozilla-beta+
Comment on attachment 8641059 [details] [diff] [review] part 1 - Add the probe [Triage Comment] UT is targeted for FF41. This patch seems simple, adds a probe and has automated tests. Approved for uplift to m-b.
Attachment #8641059 -
Flags: approval-mozilla-aurora? → approval-mozilla-beta+
Comment 15•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/125d7c0718e5 https://hg.mozilla.org/releases/mozilla-beta/rev/5650d1a8106f
You need to log in
before you can comment on or make changes to this bug.
Description
•