Page MenuHomePhabricator

Make AQS return 0 instead of no values {slug}
Closed, DeclinedPublic

Description

When an article has no views for a given date, the API returns no data for that day.
This results in incomplete timeseries (with holes) which is very inconvenient for charting in js.

Event Timeline

mforns raised the priority of this task from to High.
mforns updated the task description. (Show Details)
mforns added a project: Analytics-Backlog.
mforns subscribed.
Milimetric lowered the priority of this task from High to Medium.Nov 12 2015, 6:31 PM
Milimetric set Security to None.
Milimetric moved this task from Incoming to Prioritized on the Analytics-Backlog board.

This needs careful consideration, what do we do in the following cases?

  • a project with pageviews every other day. Do "empty" days return zero?
  • querying for a non-existing project?
  • querying for a data rage we do not have because we are 2 days behind. Do we feel two days with zeros?
  • querying for a data range we do not have in the past (before we have any data)
  • querying for a data range further in feature.
  • asking for access type that doesn't exist like "tablet"

tricky!

must find a way to differentiate between true 404 results and true 0 count results

Nuria lowered the priority of this task from Medium to Low.Apr 17 2017, 3:50 PM
Nuria moved this task from Wikistats to Backlog (Later) on the Analytics board.