A comprehensive Go-based monitoring, logging, and analytics platform for API health monitoring and log analysis.
API-WatchTower provides:
- External API monitoring and health checks
- Application log ingestion and analysis
- AI-powered log analysis and anomaly detection
- Unified view correlating API health with application behavior
- Robust alerting system
-
External API Monitoring
- Configurable endpoint monitoring
- Performance tracking
- Custom assertion rules
- Flexible authentication support
-
Log Management
- JSON log ingestion
- Scalable storage
- Advanced search and filtering
- AI-powered analysis
-
Smart Analytics
- Anomaly detection
- Error pattern clustering
- Trend analysis
- Root cause suggestions
-
Alerting
- Configurable alert rules
- Multiple notification channels
- Alert management system
- Go 1.21 or later
- PostgreSQL 15.0 or later with TimescaleDB extension
- Docker and Docker Compose (for containerized deployment)
- Clone the repository
- Install dependencies:
go mod download
- Set up the database:
docker-compose up -d db
- Run migrations:
make migrate
- Start the server:
make run
.
├── cmd/ # Application entry points
├── internal/
│ ├── api/ # API handlers and routes
│ ├── config/ # Configuration management
│ ├── core/ # Core business logic
│ ├── db/ # Database models and migrations
│ ├── monitoring/ # External API monitoring
│ ├── log/ # Log ingestion and analysis
│ ├── ai/ # AI/ML analysis components
│ └── alert/ # Alerting system
├── pkg/ # Public packages
└── scripts/ # Utility scripts
Configuration is handled through environment variables or a config file. See .env.example
for available options.
API documentation is available at /swagger/index.html
when running in development mode.
MIT License