scylladb / argus

Apache License 2.0
4 stars 11 forks source link

Views - Per Widget job filter #393

Open k0machi opened 4 months ago

k0machi commented 4 months ago

Add a per-widget setting to filter the jobs selected for a view, e.g. One test dashboard widget for rolling upgrades and one for longevity.

cc @roydahan @fruch

fruch commented 3 months ago

@k0machi

can you give a more concrete use-case for this one ? we are talking about filter on building the view ? or when using it ?

fruch commented 2 months ago

@roydahan can you explain again what is the use case here ?

roydahan commented 2 months ago

The idea is that I can have 2 widgets, same or different one, but in one widget it'll filter only jobs x,y,z and in the second widget it will show jobs a,b,c.

fruch commented 2 months ago

The idea is that I can have 2 widgets, same or different one, but in one widget it'll filter only jobs x,y,z and in the second widget it will show jobs a,b,c.

Can you give a more concrete example when we might need such a thing, when is the filter from the whole view isn't enough ?

roydahan commented 1 month ago

e.g. the view I needed to build for each one of 2024.2 coordinator instead of 1 view with 3 widgets. But also other things like graphs for some jobs in the future.

fruch commented 1 month ago

e.g. the view I needed to build for each one of 2024.2 coordinator instead of 1 view with 3 widgets. But also other things like graphs for some jobs in the future.

If we have 3 plans, that we can show in one view, that would be good enough for this use case ?

roydahan commented 1 month ago

I don't understand the question. I think that it should be possible to define filter per widget and use the same widget multiple times. Only this way we can create meaningful views.