mirror of
https://github.com/hanzoai/replicate.git
synced 2026-10-30 18:23:20 +00:00
- All source files, configs, docs, CI renamed - Binary: replicate (not litestream) - Config: replicate.yml (litestream.yml as fallback) - Env: REPLICATE_* (LITESTREAM_* as fallback) - Socket: /var/run/replicate.sock - Image: ghcr.io/hanzoai/replicate - Module: github.com/hanzoai/replicate - Package name: replicate (Go), replicate-vfs (npm/pip/gem) - VFS: registered as "replicate", pragmas replicate_* - C exports: ReplicateVFSRegister, GoReplicate* - Windows service: Replicate - Systemd unit: replicate.service - Upstream attribution preserved (README, upgrade test scripts)
1.6 KiB
1.6 KiB
Replicate Grafana Dashboard
This directory contains a Grafana dashboard for monitoring Replicate metrics.
Prerequisites
-
Replicate configured with metrics endpoint enabled in
replicate.yml:addr: ":9090" -
Prometheus configured to scrape Replicate metrics:
scrape_configs: - job_name: 'replicate' static_configs: - targets: ['localhost:9090'] -
Grafana with Prometheus data source configured
Installation
- Open Grafana and navigate to Dashboards → Import
- Upload the
replicate-dashboard.jsonfile or paste its contents - Select your Prometheus data source
- Click Import
Metrics Included
The dashboard monitors the following key metrics:
- Database & WAL Size: Current size of the database and Write-Ahead Log
- Total WAL Bytes Written: Cumulative bytes written to shadow WAL
- Sync Operations: Rate of sync operations and any sync errors
- Sync Duration: Time spent syncing shadow WAL
- Checkpoint Operations: Rate of checkpoint operations by mode
- Checkpoint Errors: Any checkpoint errors that occur
- Transaction ID: Current transaction ID for each database
- Replica Operations: Operations performed by replica type (GET/PUT)
- Replica Throughput: Bytes transferred by replica operations
Configuration
The dashboard uses template variables:
datasource: Select your Prometheus data sourcejob: Select the Prometheus job name (defaults to "replicate")
Support
For issues or improvements to this dashboard, please open an issue at: https://github.com/benbjohnson/replicate/issues