Ability to customize the time periods offered in charts

In the graphs of a dashboard, you can define the display interval among 7 values:

But in practice, I almost never use ‹ 3 months › whereas I would often like to be able to visualize ‹ 3 days ›.

Would it be possible to configure, in the Gladys settings or perhaps even in each user’s profile, the intervals that will be used. The current 7 intervals would be the default configuration, but you could remove some and add others, defining the number and the unit: X minutes/hours/days/months/years.

I had already raised the subject a few months ago, and the decision was made not to change it. But perhaps doing it with Claude will allow finding a suitable solution.

Hi Stéphane :waving_hand:

Thanks for your request! I understand the need, and indeed, there’s a real gap between « 1 day » and « 7 days » in the current durations.

However, I don’t want to go with a fully configurable list of durations in the settings. The philosophy of Gladys is to be simple and ready to use: I prefer good default choices that suit the majority, rather than settings screens that 95% of users will never open, but that everyone will have to « pay » for in complexity (management interface, dynamic translations, migrations, tricky cases like a deleted duration still used by a chart…). It’s configuration for the sake of configuration: your real problem isn’t the lack of a generic system, it’s a missing duration in the scale :slightly_smiling_face:

So, I suggest instead adding « Last 3 days » natively to the proposed durations, for everyone.

Oh yes indeed. Three days would be great!

Hi everyone!

This topic is now in development.

A PR has been opened to add the « last 3 days » interval to the dashboard charts:

Feel free to follow the PR, test (optional, especially for small requests) and give your feedback here if needed.

ok, that works for me.