Closed Bug 1655385 Opened 5 years ago Closed 5 years ago

Telemetry ping contains null values

Categories

(Conduit :: moz-phab, defect, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zalun, Assigned: zalun)

Details

(Keywords: conduit-triaged)

Attachments

(1 file)

Some of the pings are sent with null value.

This query has found 4 pings within the last 24h.

SELECT 
    CAST(metrics.timespan.mozphab_usage_command_time.value/1000 AS INT64) AS seconds,
    metrics.counter.mozphab_submission_commits_count AS commits

FROM mozphab.usage 
WHERE
    DATE(submission_timestamp) >= DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY)
    AND metrics.counter.mozphab_submission_commits_count IS null
Summary: Telemetry ping os sending null values → Telemetry ping contains null values

This happens when the user chooses to not continue in here: https://github.com/mozilla-conduit/review/blob/master/mozphab/commands/submit.py#L421

We have two options:

  1. Raise an `Error("Cancelled.")
  2. Add a new metric and measure how often user hasn't continued.

I lean to the latter. More data is good for us.

IMPORTANT
All performance queries should:

  1. check for this measure as the command_time can grow significantly.
  2. display preparation_time + process_time instead of command_time as it contains user reaction to the prompt.

(In reply to Piotr Zalewa [:zalun] from comment #1)

IMPORTANT
All performance queries should:

  1. check for this measure as the command_time can grow significantly.
  2. display preparation_time + process_time instead of command_time as it contains user reaction to the prompt.

It would make sense to add the above details on the related metric 'description' in the metrics.yaml file.

Assignee: nobody → pzalewa
Status: NEW → ASSIGNED
Keywords: conduit-triaged
Assignee: pzalewa → nobody
Status: ASSIGNED → NEW
Assignee: nobody → pzalewa
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: