← Back to Leaderboard
Nccfos

ccfos/nightingale

Self-hosted Go alerting control plane for metrics, logs, and SQL, with an AI agent

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 97/100
Maintenance Activity
● Updated today
Latest Release
v9.4.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption22/25
Release Cadence20/20
License Clarity20/20
MCPDockerSelf-HostedAPI
Total Stars
★ 13,545
24h Growth
+2
7d Growth
+25
Forks
1,809

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ccfos/nightingale Star History (2020-03-04 - 2026-12-04) ALL-TIME STAR HISTORY (2020-03 – 2026-12) +13.5k in 2466d · avg +5/day 14.3k 7.2k 0 2020-03-04: ★ 12020-08-01: ★ 1,6752021-01-02: ★ 2,5272021-06-05: ★ 3,0922021-11-06: ★ 3,6092022-04-09: ★ 4,1542022-09-10: ★ 5,0592023-02-11: ★ 5,5542023-07-15: ★ 6,3532023-12-16: ★ 7,7682024-05-18: ★ 8,6392024-10-19: ★ 9,4382025-03-22: ★ 10,4392025-08-23: ★ 11,1282026-01-24: ★ 12,6412026-06-27: ★ 13,0332026-12-04: ★ 13,545 ★ 13.5k 2020-03 2023-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Nightingale is a Go alerting control plane for existing observability stores. It queries configured sources, evaluates rule conditions, processes resulting events, and routes notifications; telemetry can stay in its original stores. The source tree separates alerting, data-source access, the web front end, and the agent into alert/, datasource/, front/, and aiagent/. The manifest specifies Go 1.25.0 and includes MetricsQL, ClickHouse Go v2, and the Elasticsearch v8 client. Rules can be distributed across alert engines, with n9e-edge available for evaluation near remote sources.

The built-in web agent calls Nightingale tools across multiple steps without being a dependency of alert evaluation. Bundled or custom Skills supply procedures, references, and scripts; Skills can also be imported from Git. External clients can call tools at /mcp over Streamable HTTP under the caller’s API permissions, with reads exposed by default and writes explicitly enabled. A2A delegates a task to the built-in agent rather than exposing individual tools; the manifest includes a2a-go/v2.

Key Capabilities & Differentiators

Nightingale evaluates PromQL, log queries, and SQL against sources such as Prometheus, VictoriaMetrics, Elasticsearch, Loki, and ClickHouse. A rule can target multiple instances of the same source type. Business groups and team permissions define ownership, while OIDC, OAuth2, LDAP, and CAS cover sign-in integrations. Conditional event pipelines can enrich or rewrite labels, apply mutes, and route notifications; evaluation records, event history, and delivery results help distinguish a rule that never fired from a notification that failed to arrive.

Native destinations include Slack, PagerDuty, Flashduty, Jira, Teams, and others; webhooks and scripts handle custom destinations. Ibex is a separate integration for predefined remediation scripts. The built-in agent can correlate metrics and logs, inspect evaluation and delivery records, generate PromQL or SQL, and author alerting configuration. Updates to existing rules and dashboards present proposed changes for confirmation. Model endpoints can use OpenAI-compatible APIs, Claude, Gemini, or compatible self-hosted models.

Trade-offs & Limitations

Compared with keeping Prometheus rules and Alertmanager routing as-is, Nightingale is most useful when separate teams need a common workflow for metrics, logs, and SQL. It can import Prometheus rule YAML, including expressions, durations, labels, and annotations, but it does not fully convert alertmanager.yml. Rebuild routing and verify outcomes in parallel before switching notification delivery. Grafana can remain the visualization layer, and PagerDuty or Flashduty can continue handling schedules and escalation; Nightingale concentrates on evaluation, event processing, and routing.

Centralization adds a service and metadata infrastructure to operate, and it does not remove query load from the source systems. JSON exports and the HTTP API enable external version control, but built-in rule revision history and rollback are absent. The agent is optional; when enabled, it sends prompts and the data it uses to the configured model endpoint. A self-hosted application therefore does not, by itself, keep AI data local. Keep agent access scoped to the permissions and model endpoints your organization is prepared to trust.

Hardware & Deployment Guide

The docker/compose-bridge stack requires Git and Docker Compose for the documented checkout-based evaluation path. It starts Nightingale, MySQL, Redis, VictoriaMetrics, and Categraf, with the UI on local port 17000. It uses example credentials and exposes service ports, so do not publish it unchanged. Linux release binaries cover amd64 and arm64, with etc/config.toml as the configuration reference; Kubernetes deployment is available through Helm. For production, pin a release, configure TLS and credentials, restrict network access, back up the metadata database, and monitor evaluation and notification failures.

Multiple instances share a metadata database and Redis and should use external time-series storage; the embedded TSDB is local to a single instance. Size for rule count, evaluation frequency, and source query cost, and treat optional model inference as a separate workload. For MCP clients, verify token authentication in the deployed configuration, since some Compose examples disable it. Recent releases add mixed-source dashboard panels in v9.2.0, more native destinations such as Teams and Twilio in v9.3.0, and monthly recurring mutes and Bark notifications in v9.4.0.

Cross-source evaluation: Define alerts with PromQL, log queries, or SQL and reuse rules across instances of the same source type.
Alert traceability: Follow evaluation queries and results through active or historical events to notification delivery records.
Ownership and automation: Business groups and team permissions define responsibility; JSON exports and the HTTP API support external CI workflows.
Agent controls: Updates to existing rules and dashboards present proposed changes for confirmation; MCP write tools are opt-in.
Distributed evaluation: Distribute rules across alert engines and run n9e-edge near remote data sources.
Release progression: v9.2.0 supports mixed data sources within a dashboard panel; v9.4.0 adds monthly recurring mutes, including last-day scheduling.
Best For

Platform and SRE teams that want shared ownership, routing, and traceability across existing metrics, log, and SQL stores without moving telemetry.

Skip If

A single-source Prometheus and Alertmanager setup already meets your needs, or you need self-contained on-call scheduling and built-in rule rollback.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPDockerSelf-HostedAPI
git clone https://github.com/ccfos/nightingale.git
cd nightingale/docker/compose-bridge
docker compose up -d

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
nightingale ★13.5k+25GoApache-2.0Self-hosted Go alerting control plane for metrics, logs, and SQL, with an AI age
pentagi35.7k+509GoMITSelf-hosted multi-agent penetration testing with logs and reports for human revi
sealos18.4k+14Go—A Kubernetes-backed desktop Ops Agent for deploying and running full-stack apps
multica59.2k+967Go—A shared task board that dispatches coding agents to machines you control.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/ccfos/nightingale.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ccfos/nightingale Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about nightingale

How do the built-in agent, MCP, and A2A fit together?

The built-in agent runs inside Nightingale and can query connected sources and inspect alerting configuration. External assistants can use /mcp over Streamable HTTP with a Nightingale token; the server applies the caller’s API permissions, exposes read tools by default, and requires explicit configuration for write tools. A2A is the separate path for delegating tasks to the built-in agent.

Does Nightingale need a GPU, and what should I size first?

Core alerting does not need a model or GPU. Size Nightingale for rule count and evaluation frequency, and measure the resulting load on your data sources rather than sizing by the Go process alone. If you self-host a model, size inference separately for the chosen model and concurrent requests; there is no fixed VRAM requirement.

Can we self-host Nightingale commercially and keep AI data in our network?

Yes. Apache-2.0 permits commercial use and self-hosting; if you redistribute the software or a modified build, follow the applicable license and notice requirements. Self-hosting Nightingale does not keep AI inputs local if the configured model endpoint is external: prompts and data used by the agent go to that endpoint.

When is it worth adopting alongside or instead of Prometheus and Alertmanager?

Keep the existing stack if Prometheus rules and Alertmanager routes already meet your needs. Nightingale earns its place when teams need one workflow for metrics, logs, and SQL alerts, with shared ownership and a record from evaluation through delivery. Import Prometheus rule YAML, rebuild notification routing, and compare results before switching delivery.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ccfos/nightingale? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ccfos/nightingale on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare