Skip to content

[BUGFIX] Fix ClickHouse time range interpolation and time series rend…#646

Open
k-bx wants to merge 1 commit intoperses:mainfrom
k-bx:k-bx/2026-05-clickhouse-time-interp
Open

[BUGFIX] Fix ClickHouse time range interpolation and time series rend…#646
k-bx wants to merge 1 commit intoperses:mainfrom
k-bx:k-bx/2026-05-clickhouse-time-interp

Conversation

@k-bx
Copy link
Copy Markdown

@k-bx k-bx commented May 3, 2026

Description

Fixes ClickHouse query handling so documented {start} and {end} placeholders are interpolated before queries are sent to ClickHouse.

Also fixes time series conversion to:

  • support arbitrary numeric result columns instead of only log_count
  • ignore non-numeric columns
  • infer stepMs from returned timestamps so aggregated queries such as daily buckets render correctly in line charts

Previously, daily ClickHouse data could export correctly as CSV and render as bars, but appear blank as a line chart because the plugin always returned stepMs = 30s, causing the TimeSeriesChart to fill daily
series with many null points.

Screenshots

зображення зображення зображення

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

@k-bx k-bx requested a review from a team as a code owner May 3, 2026 22:15
@k-bx k-bx requested review from jgbernalp and removed request for a team May 3, 2026 22:15
@k-bx k-bx force-pushed the k-bx/2026-05-clickhouse-time-interp branch 2 times, most recently from 02c4ca3 to 3dad629 Compare May 3, 2026 22:17
@k-bx k-bx force-pushed the k-bx/2026-05-clickhouse-time-interp branch from 3dad629 to f202812 Compare May 3, 2026 22:18
@jgbernalp
Copy link
Copy Markdown
Contributor

jgbernalp commented May 4, 2026

PTAL @rafi-ruetcse17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants