Skip to content

feat: Add Clickhouse Support#1967

Open
Blokje5 wants to merge 3 commits intoreplicatedhq:mainfrom
Blokje5:feat/clickhouse-support
Open

feat: Add Clickhouse Support#1967
Blokje5 wants to merge 3 commits intoreplicatedhq:mainfrom
Blokje5:feat/clickhouse-support

Conversation

@Blokje5
Copy link
Copy Markdown

@Blokje5 Blokje5 commented Feb 2, 2026

Description, Motivation and Context

Add ClickHouse Collector + Analyzer to gather information on ClickHouse deployments. See the associated Documentation PR for details on the usage.

This is very similar to existing database support (e.g. Postgres, MySQL).

Example usage:

apiVersion: troubleshoot.sh/v1beta2
kind: SupportBundle
metadata:
  name: supportbundle-tutorial
spec:
  collectors:
    - clickhouse:
        collectorName: ch-collector
        uri: clickhouse://default:default_password@127.0.0.1:9000/default
  analyzers:
    - clickhouse:
        checkName: Clickhouse version check
        collectorName: ch-collector
        outcomes:
          - fail:
              when: "connected == false"
              message: Cannot connect to Clickhouse server
          - fail:
              when: "version < 25.x"
              message: Clickhouse must be version 25.0 or higher
          - pass:
              message: Clickhouse connection successful and version is acceptable

Checklist

  • New and existing tests pass locally with introduced changes.
  • Tests for the changes have been added (for bug fixes / features)
  • The commit message(s) are informative and highlight any breaking changes
  • Any documentation required has been added/updated. For changes to https://troubleshoot.sh/ create a PR here

Does this PR introduce a breaking change?

  • Yes
  • No

Add ClickHouse Collector + Analyzer to gather information on ClickHouse deployments
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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.

1 participant