willkg / crashstats-tools

Command line tools and library for interacting with Crash Stats (https://crash-stats.mozilla.org/)
Mozilla Public License 2.0
7 stars 0 forks source link

Fix --leftover-count for histograms (#126) #130

Closed willkg closed 4 months ago

willkg commented 4 months ago

This fixes --leftover-count for histograms. I'm not sure it provides a lot of value, but it's less weird that it's skipped.

$ supersearchfacet --_histogram.date=product --leftover-count
histogram_date.product
 histogram_date | -- | Fenix | Firefox | Focus | MozillaVPN | Thunderbird | total  
----------------|----|-------|---------|-------|------------|-------------|--------
 2024-04-05     | 0  | 25677 | 56172   | 518   | 0          | 13365       | 95732  
 2024-04-06     | 0  | 25330 | 40009   | 468   | 4          | 6204        | 72015  
 2024-04-07     | 0  | 26191 | 39600   | 508   | 0          | 6122        | 72421  
 2024-04-08     | 0  | 25038 | 63071   | 429   | 0          | 15283       | 103821 
 2024-04-09     | 0  | 25386 | 58655   | 522   | 1          | 14701       | 99265  
 2024-04-10     | 0  | 25120 | 60404   | 497   | 1          | 14951       | 100973 
 2024-04-11     | 0  | 24132 | 56894   | 536   | 0          | 14983       | 96545  

Fixes #126