ai-dba-workbench
Health Uyari
- License — License: PostgreSQL
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A PostgreSQL monitoring system built combining traditional and AI monitoring from the ground up.
pgEdge AI DBA Workbench
The pgEdge AI DBA Workbench is a unified environment for monitoring
and management of any PostgreSQL v14+ instance, including Supabase
and Amazon RDS, with an optional AI agent. It watches every instance,
catches anomalies before they become outages and walks through a
diagnosis and resolution step by step.
The Workbench combines a Model Context Protocol (MCP) Server with a
web-based user interface and data collector. Users can query,
analyze, and manage distributed clusters using natural language and
intelligent automation. The Workbench exposes pgEdge tools and data
sources such as Spock replication status, cluster configuration, and
operational metrics to language models.
The architecture supports switching between cloud-connected LLMs
like Claude and locally hosted models from Ollama. This design
ensures similar levels of functionality in air-gapped or secure
environments. The pgEdge AI Workbench bridges database
administration and AI reasoning; it offers an extensible foundation
for observability, troubleshooting, and intelligent workflow
creation across the pgEdge ecosystem.
Table of Contents
- Components
- Documentation
- Prerequisites
- Building
- Testing
- Getting Started
- Deployment
- Changelog
- Issues
- Contributing
- License
Components
The pgEdge AI DBA Workbench consists of four main components:
- The Collector monitors PostgreSQL
servers and stores metrics in a centralized datastore. - The Server provides MCP tools and
resources for interacting with PostgreSQL systems. - The Alerter evaluates collected
metrics against thresholds and AI-powered anomaly
detection to generate alerts. - The Client provides a web-based user
interface for the AI Workbench.
Documentation
Comprehensive documentation is available in the docs
directory:
- The Documentation Index serves as the
main entry point for all project documentation. - The User Guide covers
dashboards, alerts, and AI features. - The Administrator's Guide
describes authentication, connections, and server
configuration. - The Developer's Guide
explains architecture, testing, and contributing.
Prerequisites
Before building the project, install the following tools:
- Go 1.24 or later for
building server-side components. - Node.js 18 or later for building
the web client. - PostgreSQL 14 or
later for the datastore. - Make for build
automation.
Building
The project uses Makefiles for building and testing. All
components can be built from the top-level directory:
# Build all components
make all
# Build individual components
cd collector && make build
Testing
The project includes comprehensive unit tests for each component.
Run All Tests
# Run all sub-project tests
make test
# Run all sub-project tests with coverage
make coverage
# Run all sub-project tests with linting
make lint
# Run everything (all sub-project test-all)
make test-all
Run Tests for Individual Components
cd collector && make test
Environment Variables for Testing
TEST_AI_WORKBENCH_SERVERspecifies the PostgreSQL
connection string for the test database; the default ispostgres://postgres@localhost:5432/postgres.TEST_AI_WORKBENCH_KEEP_DB=1preserves the test
database after tests complete.
Available Make Targets
Each sub-project and the top-level Makefile support
the following targets:
allbuilds the project and is the default target.testruns the test suite.coverageruns tests with a coverage report.lintruns the linter.test-allruns tests, coverage, and the linter.cleanremoves build artifacts.killallkills any running processes.helpshows the available targets.
Getting Started
For information on getting started with each component,
refer to the following guides:
- Quick Start
covers initial setup. - Installation
covers detailed installation steps. - Configuration
covers server configuration.
Deployment
For detailed installation, configuration, and usage
instructions, see the following documentation:
- Server Configuration
covers all server options. - Collector Configuration
covers all collector options. - Alerter Configuration
covers all alerter options.
Issues
To report an issue with the software, visit:
GitHub Issues
Contributing
We welcome your project contributions; for more information, see
docs/developer-guide/contributing.md.
For more information, visit
docs.pgedge.com.
License
This project is licensed under the
PostgreSQL License.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi