microsoft-performance-toolkit-sdk icon indicating copy to clipboard operation
microsoft-performance-toolkit-sdk copied to clipboard

SDK should support UIHint of displaying Timestamp as DateTime

Open ivberg opened this issue 3 years ago • 0 comments

For data sources sourced from log files with absolute timestamps, I heavily prefer to display to the user the absolute timestamp as well as the calculated relative timestamp.

The SDK provides hints for other UI items, but it doesn't seem to do so for this. For example:

    // todo: needs to be changed by user manually to DateTime UTC format in UI. SDK doesn't yet support specifying this <DateTimeTimestampOptionsParameter DateTimeEnabled="true" />
    private static readonly ColumnConfiguration TimestampAbsColumn = new ColumnConfiguration(
        new ColumnMetadata(new Guid("{B5896C69-020C-40A0-9BDC-C34A19011C28}"), "Timestamp", "Timestamp when the message was created."),
        new UIHints { Width = 80, });

ivberg avatar Dec 14 '21 23:12 ivberg