Skip to main content

Connect ClickHouse Cloud

ClickHouse Cloud is a fast, open-source columnar database management system optimized for real-time analytics at scale. The ClickHouse Cloud integration imports your usage and cost data into DoiT Cloud Intelligence so you can analyze ClickHouse spending in Cloud Analytics.

Prerequisitesโ€‹

  • A ClickHouse Cloud account with access to create API keys.
  • A DoiT account with the Billing Profiles Admin permission.

Required credentialsโ€‹

FieldDescriptionWhere to find it
Organization IDYour ClickHouse Cloud organization ID (UUID format)ClickHouse Cloud console โ†’ Settings โ†’ Organization
API KeyAPI key in key_id:key_secret formatClickHouse Cloud console โ†’ Settings โ†’ API Keys โ†’ Create key (Developer role)

Create an API keyโ€‹

  1. Sign in to the ClickHouse Cloud console.

  2. Navigate to Settings โ†’ API Keys.

  3. Select Create key.

  4. Assign the Developer role to the key.

  5. Copy both the Key ID and Key Secret, and combine them as key_id:key_secret.

    Caution

    The key secret is only shown once. Make sure to copy it before closing the dialog.

Connect your ClickHouse Cloud accountโ€‹

  1. Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrations โ†’ Assets.

  2. Select ClickHouse Cloud from the left-hand menu, and then select Connect new account.

  3. Enter your Organization ID and API Key (in key_id:key_secret format).

  4. Select Test connection to verify DoiT can access your ClickHouse data.

  5. If the test is successful, select Save to complete the setup.

    If the test fails or you need further assistance, please open an expert inquiry.

Note

Upon initial connection, DoiT ingests your historical usage data. The import process can take a few hours. You'll receive an email when the data is available in Cloud Analytics.

Data refreshโ€‹

DoiT refreshes your ClickHouse Cloud data every 6 hours. Usage data typically becomes available within 24โ€“26 hours of being generated by ClickHouse.

Reporting dimensionsโ€‹

Once connected, ClickHouse Cloud data maps to the following standard Cloud Analytics dimensions:

Cloud Analytics dimensionClickHouse valueExample
ProviderClickHouse CloudClickHouse Cloud
Billing AccountOrganization IDa1b2c3d4-e5f6-7890-abcd-ef1234567890
Project/Account IDService namemy-analytics-cluster
ServiceEntity typeservice, warehouse
SKUUsage typecompute, storage

In addition to standard dimensions, the following ClickHouse-specific labels are available:

LabelDescription
ResourceThe service or entity name
CategoryEntity type (e.g. service, warehouse)
SubcategoryUsage type (e.g. compute, storage)
Resource IDThe unique entity identifier

Delete your ClickHouse Cloud connectionโ€‹

  1. Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrations โ†’ Assets.

  2. Select ClickHouse Cloud from the left-hand menu.

  3. Select the three dots menu (โ‹ฎ) at the rightmost end of the account you want to remove and select Delete.

  4. Select Delete to confirm.