Skip to content

OxQL metrics: don't cut off the part of the time range with no data #2732

Open

Description

@david-crespo

I started an instance and messed with it a bit to test the charts. I made the time range 3 hours, including time before the instance existed and in the future. The time before comes back with no data, while the time in the future comes back with nulls. We treat these differently: we display the nulls but not the nothing.

I'm not 100% sure whether we should always display the full range asked for — on one hand I was pretty confused about why my graph started at a time other than the one I put in the picker. On the other hand, if you ask for a big range and there's only data for a little bit of it, you get a pretty useless graph. On the third and hopefully final hand, in that situation the user can simply change the time range to zoom in on the relevant slice. (This rules out bad ideas I had like a checkbox about whether to show the full range or only spots where we have actual data. That's hard to explain and, more importantly, covered by the existing controls.)

Image

Activity

  1. added this to the 14 milestone on Mar 3, 2025
  2. david-crespo commented on Mar 4, 2025

    @david-crespo
    CollaboratorAuthor

    By coincidence, Geoffrey Litt wrote the following a few minutes before I wrote the above about redundant one-off controls:

    along the same lines - one of the worst misconceptions in product design is that a microwave needs to have a button for every thing you could possibly cook: "popcorn", "chicken", "potato", "frozen vegetable" bla bla bla.

    you really don't! you can just have a time (and power) button. people will figure out how to cook stuff.

    good designs expose systematic structure; they lean on their users' ability to understand this structure and apply it to new situations. we were born for this.

    bad designs paper over the structure with superficial labels that hide the underlying system, inhibiting their users' ability to actually build a clear model in their heads.

  3. removed this from the 14 milestone on May 1, 2025
  4. david-crespo commented on May 1, 2025

    @david-crespo
    CollaboratorAuthor

    Taking out of 14 but not sure we should prioritize this for 15 yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions