The only monitoring platform with native ClickHouse support →

How Basira works

A lightweight agent runs next to your database, collects performance stats, and sends them to Basira for analysis. No code changes, minimal setup, no risk to your data.

Getting Started

Up and running in 3 steps

1

Sign up and get an API key

Create an account and generate an API key. No credit card required.

2

Deploy the agent via Helm

Configure your values.yaml with your API key and database connection string, then run a single Helm install command. The agent registers your database automatically.

3

See your data

Within seconds the agent starts collecting stats. Open the dashboard to see query performance, active queries, and table health.

The Agent

Lightweight, read-only, secure

A single Go binary that connects to your database with a read-only role. It never modifies your data or schema.

~20MB memory

No runtime dependencies, no JVM. Deploy via Helm or run standalone.

Outbound-only

Pushes data to Basira over HTTPS. No inbound ports needed on your server.

Read-only role

SELECT access to system views only. Cannot read application tables or modify anything.

No raw data

Queries are normalized with placeholders. Basira never sees your actual data values.

Configurable polling

Queries system views at a configurable interval (default: 10s). Each poll takes milliseconds.

Graceful failure

Buffers data locally if connectivity is lost. If the agent crashes, your database is unaffected.

Data Collection

What the agent collects

Statistics only, never raw query parameters or row data. The exact sources depend on your engine.

PostgreSQL

  • pg_stat_statements

    Normalized queries, execution times, buffer usage

  • pg_stat_activity

    Running queries, wait events, duration

  • pg_locks

    Active locks and blocked queries

  • pg_stat_user_tables

    Row counts, dead tuples, scan ratios, write rates

  • pg_stat_database

    Connections, transactions, cache hit ratios

  • pg_stat_bgwriter

    Checkpoint and I/O statistics

ClickHouse

  • system.query_log

    Queries, execution times, memory, rows read/written

  • system.processes

    Running queries, elapsed time, memory usage

  • system.parts

    Part inventory, compression, merge levels

  • system.mutations

    Running mutations, completion status

  • system.metrics

    Connections, merge pool, async inserts

  • system.replicas

    Replication queue and sync status

Ready to see inside your database?

Start monitoring your PostgreSQL or ClickHouse database in under 5 minutes.