Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Clean History: Add a "Main Summary" data set per Bug 1260847 - #48

Merged
vitillo merged 2 commits into
mozilla:masterfrom
mreid-moz:main_summary2
Apr 11, 2016
Merged

Clean History: Add a "Main Summary" data set per Bug 1260847#48
vitillo merged 2 commits into
mozilla:masterfrom
mreid-moz:main_summary2

Conversation

@mreid-moz

Copy link
Copy Markdown
Contributor

This is intended to be the go-to data set for analysis of 100% of main pings. Same as #47 but with a cleaned up commit history.

lazy val weaveDesktop = Utils.enumHistogramToCount(histograms \ "WEAVE_DEVICE_COUNT_DESKTOP")
lazy val weaveMobile = Utils.enumHistogramToCount(histograms \ "WEAVE_DEVICE_COUNT_MOBILE")

// TODO: confirm that it is safe to consider a wonky histogram as zero.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has this been addressed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a better alternative to this behaviour? It was kind of a toss-up here between zero, null, and some "special" flag-value like -1. I'm still unsure what's best, though zero is clearly the most convenient for analysis.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imho null would be preferable to signal that no (meaningful) data is available as 0 has a different meaning.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll change to use null for missing/bad sums

@vitillo

vitillo commented Apr 11, 2016

Copy link
Copy Markdown
Contributor

Looks good, thanks. Could you please rebase your commits and add a clear commit message?

Addresses the following:
  * Bug 1260847 - Create a general "summary" derived dataset for main pings
  * Bug 1261829 - Add LOOP_ACTIVITY_COUNTER histogram to main summary dataset
  * Bug 1262478 - Add DEVTOOLS_TOOLBOX_OPENED_COUNT to main summary dataset
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants