Giter Club home page Giter Club logo

Comments (9)

asubiotto avatar asubiotto commented on May 28, 2024 2

Grafana approach for reference:
image

from parca.

monicawoj avatar monicawoj commented on May 28, 2024 1

Given those considerations and all the ideas listed thus far, I have to say that I quite like Prometheus' solution. I like the idea of having a slider with predefined values as well, but I think the + and - buttons will serve the same purpose and have a cleaner UI given that the slider values would not be evenly spaced (there's a difference between 1h and 6h and 12h and 1day for example).

from parca.

monicawoj avatar monicawoj commented on May 28, 2024

@brancz by "columns" do you mean that instead of two columns for the "Last 15 min" "Last 1 hour" etc. options we should have them in a single column?

from parca.

brancz avatar brancz commented on May 28, 2024

Right now we have

Last 15min | Last 6 hours
Last 1 hour | Last 12 hours
Last 3 hours | Last 1 day

We should just make it

Last 15min
Last 1 hour
Last 3 hours
Last 6 hours
Last 12 hours
Last 1 day

And as I was writing this, I think that means we basically want it to be like the other dropdowns we have except for the ability to somehow adjust the lookback and absolute times.

from parca.

monicawoj avatar monicawoj commented on May 28, 2024

Hmm, I feel like that might significantly extend the vertical space/height of the time range selector. Is it at all necessary to have the "Last 15 min" "Last 1 hour" etc. options explicitly displayed given that the "Last " component covers all of those cases and more? We could save what the user last chose as the number input and unit in cache so that they wouldn't have to edit this every time if they usually use the same relative time range?

from parca.

brancz avatar brancz commented on May 28, 2024

Maybe it’s worth looking at what prometheus does? I quite like that experience. -/+ buttons on both ends of the button to increase/decrease and a click on the “text” reveals the menu to write it out or select absolutes?

from parca.

kakkoyun avatar kakkoyun commented on May 28, 2024

Could we have a slider maybe? With predefined points in time.

from parca.

monicawoj avatar monicawoj commented on May 28, 2024

Oh I like in the Grafana approach that the predefined "quick ranges" are hidden within a search! It's mainly the vertical space that I was hesitant about by converting our current solution to a single column.

from parca.

brancz avatar brancz commented on May 28, 2024

Not sure the search makes any sense to me and I personally find Grafana’s picker way too busy.

from parca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.