Repolode
ccfos

ccfos/nightingale

Self-hosted alerting for metrics, logs, and SQL data sources, with notification routing and a built-in AI agent and MCP server.

Open-source alternative to:PagerDutyDatadog

Stars
13,371
Forks
1,790
Open issues
249
Last commit
12 hours ago

What is it?

Nightingale is a self-hosted alerting system that brings alert rules, event processing, and notification routing into one place. It queries data sources you already run, such as Prometheus, VictoriaMetrics, Elasticsearch, Loki, ClickHouse, and PostgreSQL, evaluates alert conditions against them, and delivers notifications to tools like Slack, PagerDuty, Discord, Email, Telegram, and Jira.

Rules are organized into business groups with team permissions, and each alert's evaluation records, event history, and notification results can be reviewed. Existing collectors, storage, and Grafana dashboards can stay in place. Categraf and an embedded TSDB are optional for teams that need collection or local storage.

The built-in AI agent runs in the web UI and can inspect metrics, logs, and configuration to investigate alerts or draft rules and dashboards. An MCP server at /mcp lets external assistants call Nightingale's tools, and an A2A interface is also provided.

Key features

  • 01Defines alert conditions with PromQL, log queries, or SQL.
  • 02Routes events with muting, subscriptions, label rewriting, and conditional pipelines.
  • 03Sends notifications to Slack, PagerDuty, Discord, Email, Telegram, Mattermost, Jira, and webhooks.
  • 04Groups rules and dashboards by business group with OIDC, OAuth2, LDAP, or CAS sign-in.
  • 05Provides evaluation and notification records for tracing alerts.
  • 06Includes a built-in AI agent and an MCP server.

Use cases

  • Consolidating alert rules from Prometheus and other data sources into one self-hosted system.
  • Giving individual teams ownership of their alert rules and notification settings.
  • Evaluating alerts close to remote data sources with distributed engines.
  • Using an AI assistant to investigate why an alert fired or did not notify.

Quick start

  1. 1

    Clone the repository

    git clone https://github.com/ccfos/nightingale.git
  2. 2

    Enter the Docker Compose directory

    cd nightingale/docker/compose-bridge
  3. 3

    Start the evaluation stack, then open http://localhost:17000

    docker compose up -d

Things to know

  • The bundled Compose stack uses example credentials and exposed ports, so it must be hardened before shared or public use.
  • Multiple instances need external time-series storage, since the embedded TSDB uses one instance's local disk.
  • Nightingale does not provide built-in rule revision history or rollback.

Topics

FAQ

What is nightingale?
Self-hosted alerting for metrics, logs, and SQL data sources, with notification routing and a built-in AI agent and MCP server. Nightingale is a self-hosted alerting system that brings alert rules, event processing, and notification routing into one place. It queries data sources you already run, such as Prometheus, VictoriaMetrics, Elasticsearch, Loki, ClickHouse, and PostgreSQL, evaluates alert conditions against them, and delivers notifications to tools like Slack, PagerDuty, Discord, Email, Telegram, and Jira.
Is nightingale free to use? What license does it have?
nightingale is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is nightingale still maintained?
Actively maintained. The last commit to nightingale was on Oct 20, 2026.
What can I use nightingale for?
Consolidating alert rules from Prometheus and other data sources into one self-hosted system. Giving individual teams ownership of their alert rules and notification settings. Evaluating alerts close to remote data sources with distributed engines. Using an AI assistant to investigate why an alert fired or did not notify.
How do I install nightingale?
Clone the repository: git clone https://github.com/ccfos/nightingale.git Enter the Docker Compose directory: cd nightingale/docker/compose-bridge Start the evaluation stack, then open http://localhost:17000: docker compose up -d
Where can I get nightingale?
The source code and installation instructions are on GitHub: https://github.com/ccfos/nightingale

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects