Open georgf opened 6 years ago
More noise:
@fbertsch Are those actually in the db?
Yes, they are, unfortunately. What happened is this: Histograms all of their buckets for the db, so we use the Histogram
class to retrieve it [0]. We don't need to do this for scalars or simple_measures, since they already contain the entirety of their information.
Using the Histogram
class has the added benefit - or detrimental effect - of only including histograms that are in the current histograms.json
! So that's why we never see these errors with histograms.
The actual error comes from the service, when it tries to finally load a definition for these scalars, and it finds none: moztelemetry.scalar:MissingScalarError: 'Definition not found for 49'
.
What should happen is the following (as work items):
MissingScalarError
and 404
that dataHOWEVER, take note that this means that historical histograms are not aggregated (news to me)! If we make change (2.) before switching to getting historical scalars from the probe info service, the same will be true of scalars.
[0] https://github.com/mozilla/python_mozaggregator/blob/master/mozaggregator/db.py#L89
I see some odd entries of the form "SCALARS_" like SCALARS_49.
Trying to select them results in errors like: