Skip to main content

Grafana Dashboard

A pre-built Grafana dashboard is available as CompactionScheduler.json in the apache-pulsar-grafana-dashboard repository. Import it into your Grafana instance for comprehensive monitoring.

How to Import

  1. Download CompactionScheduler.json from the repository.
  2. Open Grafana -> Dashboards -> Import.
  3. Upload CompactionScheduler.json or paste the JSON content.
  4. Select your Prometheus data source.
  5. Click Import.

Dashboard Overview

The dashboard is organized into the following sections:

Key Alerts

These metrics should be monitored with alerting rules:

Compaction Service Metrics

The compaction service has three stages: task publishing (leader), WAL-to-Parquet conversion (worker), and commit to lakehouse (leader).

Task Lifecycle

Throughput

Offset Tracking

Latency

Failures


WAL Storage Metrics

Write Cache Metrics


File Storage Metrics


Lakehouse Read Metrics


Lakehouse Writer Metrics

Lakehouse Reader Metrics


Parquet File Metrics

Writer

Reader