clickhouse-grafana icon indicating copy to clipboard operation
clickhouse-grafana copied to clipboard

Support for float timestamp for logs

Open oplehto opened this issue 1 year ago • 1 comments

In the logs panel and logs explore, if the first column is a float then it should be considered a timestamp with subsecond precision (similar to the UInt64 special case for Unix timestamps).

oplehto avatar Sep 12 '24 07:09 oplehto

Thining a bit further, the most versatile way would be the following:

  • The timestamp column should be obtained from the "Query Settings" tab if its set there
  • The "Query Settings" timestamp selector should support also Float* and UInt64 based timestamps (this would also benefit timeseries and table panes)

oplehto avatar Sep 12 '24 07:09 oplehto

@oplehto when use UInt64, shall we define how many right pad digits will use for fractional seconds? or just need to define 3 right digits always and use is as milliseconds?

Slach avatar Nov 12 '24 06:11 Slach