Dash0
Pricing
Docs
Login
Book a demoStart free trial
Dash0
Dash0 home

Company

  • About us
  • Careers
  • Trust Center
  • Brand
  • Security

Products

  • Observability
  • AI SDLC
  • Agent0
  • SignalStore
  • SignalControl

Resources

  • Blog
  • Guides
  • Knowledge
  • Comparisons
  • Documentation
  • Podcast
  • Newsletter
  • Ebook
  • Integrations
  • Changelog

Get Started

  • Pricing
  • Free trial
  • Sitemap
  • Glossary
  • OTelBin.io

Compare

  • Datadog
  • Grafana
  • Dynatrace
  • New Relic
  • Elastic
  • Honeycomb
  • Sentry
  • Splunk
  • Solarwinds
  • SigNoz
  • Chronosphere
  • Better Stack
  • Coralogix
  • Instana
System status
  • Terms and Conditions
  • Privacy Policy
  • Data Processing Agreement
  • Vulnerability Disclosure

Ship more. Break less.

© 2026 Dash0 Inc.

In this integration

  • Intro
  • Overview
  • Use Cases
  • Setup
  • Overview
  • Prometheus metrics endpoint
  • Collector Configuration
  • Collector Deployment
  • References
  • Dashboards
Integrations/Altinity ClickHouse Operator

Altinity ClickHouse Operator

Dash0's Altinity ClickHouse integration creates a robust ClickHouse cluster, enhancing system visibility and performance for your data.

Overview

Altinity Kubernetes Operator for ClickHouse creates, configures and manages ClickHouse clusters running on Kubernetes.

Use Cases

  • See statistics about ClickHouse parts.
  • Inspect slow queries.
  • Inspect storage and usage.
  • See latency insights.

Setup

Overview

ClickHouse exposes metrics through a Prometheus endpoint that you can scrape. We recommend to scrape and forward these metrics via an OpenTelemetry Collector.

Prometheus metrics endpoint

The clickhouse metrics and clickhouse operator's metrics are exposed via clickhouse operator's HTTP endpoints. There are 2 endpoints, one is for ClickHouse metrics, which is exposed via a standard Prometheus endpoint.

prometheus.io/port: "8888"
prometheus.io/scrape: "true"

The other one is for metrics for the clickhouse operator itself.

clickhouse-operator-metrics/port: "9999"
clickhouse-operator-metrics/scrape: "true"

Collector Configuration

The following code snippet shows an OpenTelemetry Collector configuration file.

receivers:
  prometheus/clickhouse:
    config:
      scrape_configs:
        - job_name: "kubernetes-pods"
          kubernetes_sd_configs:
            - role: pod
          scrape_interval: 30s
          scrape_timeout: 5s
          tls_config:
            ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
            insecure_skip_verify: false
          bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token

          relabel_configs:
            - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
              regex: true
              action: keep

            - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
              regex: false
              action: drop

            - source_labels: [__meta_kubernetes_pod_ip, __meta_kubernetes_pod_annotation_prometheus_io_port]
              regex: (.+);(.+)
              replacement: $1:$2
              target_label: __address__

            - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
              action: replace
              regex: ()
              replacement: /metrics
              target_label: __meta_kubernetes_pod_annotation_prometheus_io_path

            - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
              action: replace
              target_label: __metrics_path__

            - source_labels: [__meta_kubernetes_namespace]
              action: replace
              target_label: namespace

            - source_labels: [__meta_kubernetes_pod_name]
              action: replace
              target_label: pod_name

            - source_labels: [__meta_kubernetes_pod_container_name]
              action: replace
              target_label: container_name

            - action: labelmap
              regex: __meta_kubernetes_pod_label_(.+)

            - action: labeldrop
              regex: "container_id|image_id|controller_revision_hash|pod_template_generation|pod_template_hash"

          metric_relabel_configs:
            - source_labels: [__name__]
              regex: "process_virtual.*|process_max_fds|process_start_time.*|http_.*|go_gc.*"
              action: drop

        - job_name: "kubernetes-clickhouse-operator-pods"
          kubernetes_sd_configs:
            - role: pod
          scrape_interval: 30s
          scrape_timeout: 10s
          tls_config:
            ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
            insecure_skip_verify: false
          bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token

          relabel_configs:
            - source_labels: [__meta_kubernetes_pod_annotation_clickhouse_operator_metrics_scrape]
              regex: true
              action: keep

            - source_labels: [__meta_kubernetes_pod_annotation_clickhouse_operator_metrics_scrape]
              regex: false
              action: drop

            - source_labels:
                [__meta_kubernetes_pod_ip, __meta_kubernetes_pod_annotation_clickhouse_operator_metrics_port]
              regex: (.+);(.+)
              replacement: $1:$2
              target_label: __address__

            - source_labels: [__meta_kubernetes_pod_annotation_clickhouse_operator_metrics_path]
              action: replace
              regex: ()
              replacement: /metrics
              target_label: __meta_kubernetes_pod_annotation_clickhouse_operator_metrics_path

            - source_labels: [__meta_kubernetes_pod_annotation_clickhouse_operator_metrics_path]
              action: replace
              target_label: __metrics_path__

            - source_labels: [__meta_kubernetes_namespace]
              action: replace
              target_label: namespace

            - source_labels: [__meta_kubernetes_pod_name]
              action: replace
              target_label: pod_name

            - source_labels: [__meta_kubernetes_pod_container_name]
              action: replace
              target_label: container_name

            - action: labelmap
              regex: __meta_kubernetes_pod_label_(.+)

            - action: labeldrop
              regex: "container_id|image_id|controller_revision_hash|pod_template_generation|pod_template_hash"

processors:
  batch:

exporters:
  otlp/dash0:
    endpoint: "{{endpoint_otlp_grpc}}"
    headers:
      Authorization: "Bearer {{token}}"
      "Dash0-Dataset": "{{dataset}}"

service:
  pipelines:
    metrics:
      receivers: [prometheus/clickhouse]
      processors: [batch]
      exporters: [otlp/dash0]

Collector Deployment

Learn how to deploy the collector within our OpenTelemetry collector integration documentation.

References

  • Official ClickHouse Cloud documentation ↗
  • OpenTelemetry Collector configuration in OTelBin ↗

Dashboards

Altinity ClickHouse Operator

Altinity ClickHouse Operator

Altinity ClickHouse Operator Metrics

  • altinity
  • clickhouse
  • operator
ClickHouse Altinity Keeper

ClickHouse Keeper

ClickHouse Keeper / ZooKeeper Metrics

  • altinity
  • clickhouse
  • zookeeper
ClickHouse S3 API costs

ClickHouse Server

ClickHouse S3 API costs

  • altinity
  • clickhouse
  • costs
  • s3
ClickHouse Altinity Server

ClickHouse Server

ClickHouse Server Metrics

  • altinity
  • clickhouse