Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
485b695
Create ee folder
loicknuchel Jan 30, 2026
5139718
Restrict auth for enterprise
loicknuchel Jan 30, 2026
f3e9e4e
Set up the license checks
loicknuchel Jan 30, 2026
6346b2e
Show Auth in Enterprise page
loicknuchel Jan 31, 2026
9f9737c
add TODO
loicknuchel Feb 2, 2026
54afc97
Merge branch 'main' into oss
loicknuchel Feb 12, 2026
7df03b7
Merge branch 'main' into oss
loicknuchel Feb 17, 2026
949b45c
Fix issues
loicknuchel Feb 18, 2026
6ed4ea8
Move Auth code into ee folders
loicknuchel Feb 18, 2026
c8d4887
Add comparison table between Community & Enterprise
loicknuchel Feb 19, 2026
95ff051
Show license information in UI
loicknuchel Feb 19, 2026
16cff0b
Move enterprise plugins to ee, as well as database discovery
loicknuchel Feb 19, 2026
a1a0174
Add Enterprise page, prevent usage of MCP and pg storage
loicknuchel Feb 19, 2026
6906ff7
Block LLM and Observability usages in community version
loicknuchel Feb 19, 2026
df1288e
Add Telemetry
loicknuchel Feb 19, 2026
95176c9
Fix login page for emergency user
loicknuchel Feb 21, 2026
8b1676c
Merge branch 'main' into oss
loicknuchel Feb 21, 2026
3181d95
Merge branch 'main' into oss
loicknuchel Feb 21, 2026
64b9105
Add license (MIT + ELv2)
loicknuchel Feb 21, 2026
bb0794b
Merge branch 'main' into oss
loicknuchel Feb 24, 2026
2de952e
Merge branch 'main' into oss
loicknuchel Feb 24, 2026
789625d
Code review
loicknuchel Feb 25, 2026
ac6bee4
Polish UI
loicknuchel Feb 25, 2026
8d76151
AI review
loicknuchel Feb 25, 2026
859cff2
Add license scripts
loicknuchel Feb 25, 2026
048d307
Code review
loicknuchel Feb 25, 2026
9b13404
Final review
loicknuchel Feb 26, 2026
5b3714c
Rotate license key
loicknuchel Feb 26, 2026
6694a76
Final review
loicknuchel Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.env
node_modules

# Private keys for license signing - NEVER COMMIT
keys/
23 changes: 16 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
# Contributing

If you are contributing to this project, and specifically adding code, you are reputed to have read and agreed with this file content.
Thank you for your interest in contributing to Azimutt Inspector!
We welcome contributions from the community and appreciate your help in making the project better.

## License
If you are contributing to this project and specifically adding code, you are reputed to have read and agreed with this file content.

This project is in a very early phase, its **licencing model is not decided yet**.
## What You Can Contribute To

By contributing to it, you consent to give unlimited rights to the repository owners on your contributions.
They may choose any license for any part of the code and can clean the history.
Contributions to the OSS core are welcome and governed by the MIT License.
By submitting a pull request to OSS code, you agree your contribution is licensed under MIT.

## The future
The enterprise directories (`ee/`, `backend/src/ee/`, `frontend/src/ee/`,`packages/core/src/ee/`) are **not open for external contributions**.
Pull requests targeting these directories will be closed. This is necessary to maintain clear copyright ownership over commercially licensed code.

Not making any engagement here, but the application could be released under an Open Source license, and some plugins and extensions could have a commercial license.
If you have a feature idea for the enterprise edition, please open an issue to discuss it —
we may implement it ourselves and credit you.

## Contributor License

By contributing to the OSS parts of the codebase, you confirm that:
- You have the right to submit the code under the MIT License
- You are not submitting code covered by a conflicting license
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RUN npm run build:frontend
COPY backend/ backend/
RUN npm run build:backend

# Create version.json for runtime access
RUN echo "{\"version\":\"${VERSION}\"}" > /app/version.json
# Create buildInfo.json for runtime access
RUN VERSION=${VERSION} npm run build:info


# Stage 2: Create Final Production Image
Expand All @@ -43,7 +43,6 @@ RUN addgroup -g 1001 -S nodejs && \
# Copy output from builder with correct ownership
COPY --from=builder --chown=nodejs:nodejs /app/package.json ./
COPY --from=builder --chown=nodejs:nodejs /app/package-lock.json ./
COPY --from=builder --chown=nodejs:nodejs /app/version.json ./
COPY --from=builder --chown=nodejs:nodejs /app/packages/core/package.json ./packages/core/
COPY --from=builder --chown=nodejs:nodejs /app/packages/core/dist ./packages/core/dist
COPY --from=builder --chown=nodejs:nodejs /app/frontend/package.json ./frontend/
Expand Down
7 changes: 7 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This repository contains code under two licenses:

- Most source files are licensed under the MIT License.
See LICENSES/MIT.txt for the full text.

- Source files under ee/ directories (ee/, backend/src/ee/, frontend/src/ee/, packages/core/src/ee/) are licensed under the Elastic License 2.0.
See LICENSES/ELv2.txt for the full text.
93 changes: 93 additions & 0 deletions LICENSES/ELv2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Elastic License 2.0

URL: https://www.elastic.co/licensing/elastic-license

## Acceptance

By using the software, you agree to all of the terms and conditions below.

## Copyright License

The licensor grants you a non-exclusive, royalty-free, worldwide,
non-sublicensable, non-transferable license to use, copy, distribute, make
available, and prepare derivative works of the software, in each case subject to
the limitations and conditions below.

## Limitations

You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.

You may not move, change, disable, or circumvent the license key functionality
in the software, and you may not remove or obscure any functionality in the
software that is protected by the license key.

You may not alter, remove, or obscure any licensing, copyright, or other notices
of the licensor in the software. Any use of the licensor's trademarks is subject
to applicable law.

## Patents

The licensor grants you a license, under any patent claims the licensor can
license, or becomes able to license, to make, have made, use, sell, offer for
sale, import and have imported the software, in each case subject to the
limitations and conditions in this license. This license does not cover any
patent claims that you cause to be infringed by modifications or additions to
the software. If you or your company make any written claim that the software
infringes or contributes to infringement of any patent, your patent license for
the software granted under these terms ends immediately. If your company makes
such a claim, your patent license ends immediately for work on behalf of your
company.

## Notices

You must ensure that anyone who gets a copy of any part of the software from you
also gets a copy of these terms.

If you modify the software, you must include in any modified copies of the
software prominent notices stating that you have modified the software.

## No Other Rights

These terms do not imply any licenses other than those expressly granted in
these terms.

## Termination

If you use the software in violation of these terms, such use is not licensed,
and your licenses will automatically terminate. If the licensor provides you
with a notice of your violation, and you cease all violation of this license no
later than 30 days after you receive that notice, your licenses will be
reinstated retroactively. However, if you violate these terms after such
reinstatement, any additional violation of these terms will cause your licenses
to terminate automatically and permanently.

## No Liability

*As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.*

## Definitions

The **licensor** is the entity offering these terms, and the **software** is the
software the licensor makes available under these terms, including any portion
of it.

**you** refers to the individual or entity agreeing to these terms.

**your company** is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control over,
are under the control of, or are under common control with that
organization. **control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by vote, contract, or
otherwise. Control can be direct or indirect.

**your licenses** are all the licenses granted to you for the software under
these terms.

**use** means anything you do with the software requiring one of your licenses.

**trademark** means trademarks, service marks, and similar rights.
21 changes: 21 additions & 0 deletions LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Azimutt, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
46 changes: 44 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Azimutt Inspector

[![License: MIT (core)](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSES/MIT.txt)
[![License: ELv2 (enterprise)](https://img.shields.io/badge/License-ELv2-orange.svg)](LICENSES/ELv2.txt)

Self-Driving Database platform that proactively avoids incidents and optimizes your databases.
It's plug-and-play with built-in analysis, but you can also provide your own scripts using [plugins](docs/plugins.md).

[![Azimutt Inspector Dashboard](docs/assets/dashboard.png)](https://inspector.azimutt.app)

More [screenshots](docs/screenshots.md), and details on [inspector.azimutt.app](https://inspector.azimutt.app).


## How it works

Expand Down Expand Up @@ -47,7 +52,7 @@ docker build -t azimutt/inspector .
docker run --rm -p 3000:3000 -e QUICKSTART_DB=postgresql://user:password@host:5432/database --name inspector azimutt/inspector
```

Or launching with npm:
Or launching with npm (requires **Node.js 22+**):

```bash
# Install dependencies
Expand All @@ -62,11 +67,48 @@ QUICKSTART_DB=postgresql://user:password@host:5432/database npm start

Then access the application at [http://localhost:3000](http://localhost:3000) (or [http://localhost:5173](http://localhost:5173) for the npm frontend).

More details on [installing Azimutt Inspector](docs/install.md).
After startup, collectors run immediately and analyzers follow. If you used `QUICKSTART_DB`, you'll see your first alerts and suggestions within a few seconds. If you configure database instances from the UI, collectors will run immediately, but analyzers will follow their schedule. For fast analysis you can manually trigger them from the database instance item.

Azimutt Inspector only requires **read-only access** to system tables on your managed databases (see [install guide](docs/install.md)).

If you don't have a database to monitor, use the [sample](./demo/sample/README.md) one in the [demo](./demo/README.md) folder with Docker Compose.


## Security

Azimutt Inspector is designed for **on-premise deployment**, your data never leaves your infrastructure.
It connects to managed databases with **read-only access** using a connection pool with a single connection, and all stored secrets are encrypted at rest.

More details in the [security documentation](docs/security.md).


## Community vs Enterprise

Azimutt Inspector Community edition is meant to bring huge value for personal use or small teams.
Large organizations are encouraged to use the Enterprise Edition, it adds:

- Multi-database monitoring and auto-discovery
- User authentication (local, OAuth) and authorization (RBAC)
- Advanced collectors, analyzers, and notifiers (logs, AI-powered...)
- PostgreSQL storage
- MCP server
- Support
- And more...

More details in the [Enterprise Edition documentation](docs/ee.md).


## License

Azimutt Inspector is open-core software.

The **core** is open source under the [MIT License](LICENSES/MIT.txt) —
free to use, modify, and distribute without restriction.

The **enterprise features** (in `ee/` directories) are licensed under the [Elastic License 2.0](LICENSES/ELv2.txt) —
free to use internally, but you may not offer them as a managed service or circumvent license key mechanisms.


## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md).
4 changes: 4 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@

# LOG_LEVEL=log # log level: error, warn, log, debug, verbose (default: log)
# LOG_LEVEL_CONFIG=SchedulerService:debug,Storage*:verbose # context-specific log levels (supports wildcards: Storage*:debug)

# LICENSE: Enterprise Edition license key (see docs/ee.md)
# Contact contact@azimutt.app to get a trial or full license.
# LICENSE=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
2 changes: 1 addition & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/build

# Logs
logs
/logs
*.log
npm-debug.log*
pnpm-debug.log*
Expand Down
3 changes: 2 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"description": "",
"author": "",
"license": "UNLICENSED",
"license": "MIT",
"scripts": {
"build": "npm run clean && nest build",
"format": "exit && prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
Expand Down Expand Up @@ -55,6 +55,7 @@
"openid-client": "^6.8.2",
"pg": "^8.13.3",
"postgres-array": "^3.0.4",
"posthog-node": "^5.24.17",
"prom-client": "^15.1.3",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
Expand Down
Loading
Loading