opserver / Opserver

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

Filters UI for Exceptions page (by Url, Host, Start Date and End Date) #406

Closed svalbuena closed 2 years ago

svalbuena commented 2 years ago

Summary

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:

NickCraver commented 2 years ago

Hmm, branch merge did closey things here - not intentional, lemme get main going and remedy that.

NickCraver commented 2 years ago

@svalbuena hmmm I don't have permissions here - can you edit this to point to main and re-open by chance?

svalbuena commented 2 years ago

I can't reopen this PR, I've created a new branch on my repo that follows the new main branch and created a new PR (I've fixed a bug as well) https://github.com/opserver/Opserver/pull/407 @NickCraver