aspire icon indicating copy to clipboard operation
aspire copied to clipboard

Add configurable timestamp sorting

Open bobby-driggs opened this issue 1 year ago • 2 comments

Hi, Ive been looking into and playing around with the stand alone Aspire Dashboard, and its looking and working great.

My only current gripe is that (at least for the structured logs) they are sorted by timestamps ascending. ( oldest first ). this is a bit of a pain point, as I am constantly having to scroll down to the bottom to see the latest logs, as I am mostly interested in the newest logs first (descending order).

It doesnt seem like any of the columns are sortable on the structed log data grid, and i would love an option to either add sorting to the columns, or at least have a configurable option to have the default sort be newest first.

Thanks!

bobby-driggs avatar May 15 '24 16:05 bobby-driggs

@bobby-driggs 100% agree. There should be a sorting mechanism to decide user wants Latest logs on top based on Timestamps or not. This is required on "Structured" and "Traces" tabs.

image

chinmay-trivedi avatar May 27 '24 20:05 chinmay-trivedi

same goes also for traces :) especially in the inner cycle, it makes sense to have the latest requests on top instead of scrolling to bottom :)

Kralizek avatar May 31 '24 21:05 Kralizek

@leslierichardson95 add sorting / filtering story tag to this later

leslierichardson95 avatar Sep 10 '24 21:09 leslierichardson95

As far as I can tell, logs are not explicitly sorted currently, which means logs can currently be displayed out-of-order, even for the same resource. Here is an example. Note the top two and bottom two log timestamps: Image

ReubenBond avatar Oct 19 '24 23:10 ReubenBond

Adding a sort would be useful... but I might also suggest adding this as a filter as well. Like I might be crazy and say I want to look at the logs between 5-10 minutes ago... or just want to see the logs for the last 5 minutes

dansiegel avatar Nov 03 '24 00:11 dansiegel