cloudoperators / greenhouse-extensions

Extensions for Greenhouse, the cloud operations platform
Apache License 2.0
0 stars 2 forks source link

[doop] Do not load all violations when a filter is active #160

Open majewsky opened 1 month ago

majewsky commented 1 month ago

Priority

(Medium) I'm annoyed but I'll live

Is your feature request related to a problem?

Loading all alerts from DOOP causes excessive memory usage and increases the time for the DOOP API to return a result. The UI should use the filtering capability that's present in the DOOP API to only request what it actually needs.

This does not necessarily need to be done for every single filter change, but e.g. support_group is something that most people do not change, so instead of GET /v2/violations, you could GET /v2/violations?object_identity.support_group=foobar once the support group foobar has been selected either automatically or manually.

Additional context.

No response

Reference Issues

No response