uchiwa icon indicating copy to clipboard operation
uchiwa copied to clipboard

"Last OK" data isn't exposed in event detail view

Open cwjohnston opened this issue 8 years ago • 2 comments

Expected Behavior

Event detail view should use event "last_ok" value to expose the time when the client/check pair was last in an OK state.

Current Behavior

"Last Ok" is exposed in event overview, but not in the event detail view.

Possible Solution

Add an element similar to the client keepalive to the event detail table

2017-10-26 at 4 51 pm

Context

Moving back and forth between event overview and event detail gets old quick. It would be great if the event detail view exposed this directly.

Your Environment

  • Uchiwa version used: 0.26.3 (Console 2.10.2)
  • Sensu version used: Sensu Enterprise 2.6.5
  • Operating System and version (e.g. Ubuntu 14.04): Ubuntu 16.04

cwjohnston avatar Oct 26 '17 23:10 cwjohnston

Also, I think it would be preferable to see Last OK time in a format similar to that used for issued and executed attributes, as opposed to the approximate time shown for client keepalive.

cwjohnston avatar Oct 26 '17 23:10 cwjohnston

Additional context:

Uchiwa historically used the /clients/:client/history API endpoint (which was deprecated in favour of /results) and at that time, I believe the same attributes were exposed by these two endpoints but it obviously changed since then so that’s why we are now missing some attributes from /results. What that means is that we probably need a new view to expose events metadata vs the check results currently used.

palourde avatar Nov 30 '17 19:11 palourde