Commit fc945de
Release v0.6.0: Advanced monitoring and documentation restructure
### Added
- **📊 Prometheus Metrics Integration** (enabled by default)
- PrometheusMetricsCollector with comprehensive job queue metrics
- Built-in metrics: job counts, duration histograms, failure rates, queue depth, worker utilization
- Custom gauge and histogram metrics support
- HTTP exposition server for Prometheus scraping using warp
- **🚨 Advanced Alerting System** (enabled by default)
- AlertingConfig with configurable thresholds for error rates, queue depth, worker starvation
- Multiple notification targets: Webhook, Slack (with rich formatting), and email alerts
- Cooldown periods to prevent alert storms
- Background monitoring task for real-time threshold checking
- **📖 Comprehensive Documentation Restructure**
- Restructured README from 677 to 124 lines (82% reduction)
- Created detailed documentation subpages:
- docs/quick-start.md - PostgreSQL and MySQL setup examples
- docs/job-types.md - Job configuration, priorities, timeouts, cron jobs
- docs/worker-configuration.md - Worker setup, rate limiting, statistics
- docs/cron-scheduling.md - Recurring jobs with timezone support
- docs/priority-system.md - Five-level priority system with weighted scheduling
- docs/monitoring.md - Prometheus metrics and alerting systems
### Enhanced
- Optional feature flags: `metrics` and `alerting` (enabled by default)
- Background monitoring task for metrics collection and alerting
- Updated ROADMAP.md to remove completed features (metrics and alerting)
- Worker event recording now feeds both statistics and metrics collectors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent fe1259a commit fc945de
File tree
16 files changed
+3176
-628
lines changed- docs
- src
16 files changed
+3176
-628
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
8 | 47 | | |
9 | 48 | | |
10 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| 31 | + | |
29 | 32 | | |
30 | | - | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | | - | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
| |||
0 commit comments