Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

clickhouse-observability

Skill by jeremylongshore

Sets up monitoring for ClickHouse using system tables, Prometheus scraping, Grafana dashboards, and alert rules. It is for teams running production ClickHouse deployments.

  • Score 79
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install clickhouse-observability

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clickhouse-observability ~/.claude/skills/clickhouse-observability

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install clickhouse-observability in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps set up monitoring for ClickHouse. It layers four signal sources: system.* tables, a Prometheus scrape endpoint, application-level client instrumentation, and Prometheus alert rules. It covers query performance, merge health, and resource usage.

The workflow has five steps. It starts with a health snapshot query against system tables, then configures Prometheus scraping for ClickHouse Cloud or a self-hosted server. It adds client instrumentation with prom-client, builds Grafana dashboard panels, and loads alert rules. The output is a set of config files to add to an infrastructure repository. The skill is aimed at engineers who run production ClickHouse and need monitoring and alerts for it.

Written from the project's SKILL.md and checked against it.

What it can do

  • System table health snapshotRuns a query against system.* tables for running queries, memory, and active merges.
  • Prometheus scrape configWrites scrape configs for ClickHouse Cloud or a self-hosted :9363 metrics endpoint.
  • Client instrumentationWraps queries in prom-client histograms and counters to track latency and errors.
  • Grafana dashboard panelsProvides panels for QPS, P50/P95/P99 latency, error rate, and insert throughput.
  • Alert rulesDefines Prometheus alert rules for error rate, latency, part count, memory, and disk.

What you need

  • ClickHouse instance with system.* table access
  • Prometheus or a compatible tool such as Grafana Alloy or Victoria Metrics
  • Grafana for dashboards
  • AlertManager or PagerDuty for alerts
  • ClickHouse Cloud API key for the managed Prometheus endpoint

Try asking

  • Write a health snapshot query for my ClickHouse server
  • Create a Prometheus scrape config for my self-hosted ClickHouse
  • Generate Prometheus alert rules for ClickHouse part count and memory

Good to know

  • Self-hosted setups need the built-in :9363 endpoint enabled in config.xml.
  • Missing query_log data requires log_queries = 1 in the config.
  • A scrape interval of 10-15 seconds is suggested to avoid dashboard gaps.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/clickhouse-observability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEdit

  • SKILL.md5 KB
  • references/alerting.md2 KB
  • references/instrumentation.md2 KB
  • references/prometheus-grafana.md2 KB
  • references/system-tables.md2 KB

Alternatives to clickhouse-observability

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

clickhouse-observability: common questions

What does clickhouse-observability monitor?

It monitors query performance, merge health, and resource usage in ClickHouse. It uses system tables, Prometheus, Grafana, and alert rules.

Does it work with ClickHouse Cloud?

Yes. The source says ClickHouse Cloud exposes a managed Prometheus endpoint that uses Basic auth with a Cloud API key. Self-hosted servers use the built-in :9363 endpoint instead.

Which alert fires when merges fall behind?

The ClickHouseTooManyParts rule fires when a table exceeds 300 active parts for 10 minutes. The source describes this as the classic inserts-outpacing-merges signal.

How do I install clickhouse-observability?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is clickhouse-observability free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is clickhouse-observability safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to clickhouse-observability?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

clickhouse-observability Install

Add to stack

Loading.