8000 Grafana dashboard improvements by discostur · Pull Request #1867 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content

Grafana dashboard improvements - #1867

Merged
sunsingerus merged 4 commits into
Altinity:0.25.6from
discostur:grafana-dashboard-improvements
Dec 3, 2025
Merged

sunsingerus merged 4 commits into
Altinity:0.25.6from
discostur:grafana-dashboard-improvements

Conversation

@discostur
Copy link
Copy Markdown
Contributor

Grafana Dashboard Improvements for ClickHouse Queries

Changes

  1. Make ClickHouse datasource configurable via dropdown

    • Removed hardcoded datasource naming pattern k8s-$exported_namespace-$chi
    • Changed datasource variable $db to be visible and user-selectable
    • Users can now select any ClickHouse datasource from a dropdown without naming restrictions
  2. Fix deprecated window function usage

    • Replaced deprecated lagInFrame() with modern lag() window function
    • Added explicit ORDER BY clause required by the new syntax
    • Fixes compatibility with ClickHouse 25.3+ which throws error: Function runningDifference is deprecated since its usage is error-prone

@Slach
Slach self-requested a review November 24, 2025 12:15
@Slach
Slach changed the base branch from master to 0.25.6 November 25, 2025 12:34
@sunsingerus
sunsingerus merged commit 3e96461 into Altinity:0.25.6 Dec 3, 2025
1 of 2 checks passed
@discostur
discostur deleted the grafana-dashboard-improvements branch December 3, 2025 12:01
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.

3 participants

0