opserver / Opserver

Stack Exchange's Monitoring System
https://opserver.github.io/Opserver/
MIT License
4.5k stars 823 forks source link

Add url, host, start date and end date UI filters for Exceptions #407

Closed svalbuena closed 2 years ago

svalbuena commented 2 years ago

Summary

(I couldn't reopen the previous PR so I've created a new one with my changes on top of the new main branch) Closes #404

Added a filter UI on Exceptions page to filter by Url, Host, Start Date and End Date. I've followed the same UI pattern as the one used on the SQL active/top page filters. These have been features requested at Stack that will be very handy to search for specific exceptions without manipulating the opserver url or search box.

image image image

The picker date format and text is regionalized based on browser/pc settings. The value the picker sends to the controller has always the fixed format of YYYY-MM-DDThh:mm. It also has an option to clear the field.

What I have tested

I've run OpServer locally with a local DB containing test Exceptions data. Tested the following behaviour: