fix: metrics-collector /cron/metrics route + UI API path, croned-pkg URL updated, image v0.1.1

This commit is contained in:
Naeel
2026-04-29 10:45:44 +03:00
parent df8bf0d476
commit 33a421e189
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@ func main() {
_, _ = w.Write([]byte("ok\n"))
})
mux.HandleFunc("/metrics", srv.HandleMetrics)
mux.HandleFunc("/cron/metrics", srv.HandleMetrics)
mux.Handle("/", ui.Handler())
httpSrv := &http.Server{
@@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: metrics-collector
image: naeel/metrics-collector:v0.1.0
image: naeel/metrics-collector:v0.1.1
ports:
- containerPort: 8091
env:
+1 -1
View File
@@ -228,7 +228,7 @@
</div>
<script>
const API = '/metrics';
const API = '/cron/metrics';
const summaryEl = document.getElementById('summary');
const historyBody = document.getElementById('history-body');
const lastUpdatedEl = document.getElementById('last-updated');