Commit 101cff7
feat: remove unnecessary monitoring services, add API alive status tracking
- Remove Prometheus, Grafana, Uptime Kuma services from docker-compose
files and delete their config directories (prometheus/, grafana/)
- Remove prometheus-client dependency from requirements.txt
- Clean up prometheus metric methods from scheduler.py
- Add endpoint_statuses table to track API up/down state per endpoint
- Record endpoint status on every scheduled check (success or failure)
- Add POST /api/ping/{provider}/{endpoint} for manual alive checks
- Add GET /api/statuses to list all endpoint statuses
- Update dashboard with API Durum panel showing UP/DOWN status,
HTTP codes, response times, and per-endpoint Ping buttons
- Provider cards now show real status indicator (green/red/gray)
based on actual endpoint health data
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2b5bbd3 commit 101cff7
13 files changed
Lines changed: 476 additions & 490 deletions
File tree
- grafana/dashboards
- prometheus
- schema-monitor
- api
- core/store
- templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
79 | 59 | | |
80 | | - | |
81 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
82 | 67 | | |
83 | 68 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 69 | | |
88 | 70 | | |
89 | 71 | | |
90 | 72 | | |
91 | 73 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 74 | | |
96 | 75 | | |
97 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 46 | | |
88 | 47 | | |
89 | 48 | | |
90 | 49 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 50 | | |
95 | 51 | | |
96 | 52 | | |
| |||
0 commit comments