Closed Bug 1594108 Opened 6 years ago Closed 6 years ago

Create a bigquery view to replace error_aggregates dataset

Categories

(Data Platform and Tools :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: benwu)

References

Details

Based on discussions with :akomar and :bewu, it looks like the easiest way forward to replace Mission Control v1's athena usage is to create a bigquery view based on the live ping tables for "core", "main", and "crash" that mission control can query in much the same way as it currently queries error_aggregates.

You can see an example of mission control's usage of error aggregates here:

https://github.com/mozilla/missioncontrol/blob/99e8415ac3e428df5ac9060951efd7138e8e69f3/missioncontrol/etl/measure.py#L93

A list of "measures" we track is defined here:

https://github.com/mozilla/missioncontrol/blob/99e8415ac3e428df5ac9060951efd7138e8e69f3/missioncontrol/base/management/commands/load_initial_data.py#L16

We can just skip any "measure" which isn't related to crashes.

The business logic to create error aggregates is here:

https://github.com/mozilla/telemetry-streaming/blob/master/src/main/scala/com/mozilla/telemetry/streaming/ErrorAggregatorBase.scala

Blocks: 1594111
No longer blocks: 1594153
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Component: Datasets: General → General
You need to log in before you can comment on or make changes to this bug.