cozystack/internal/controller
ZverGuy 0aab19f500 feat(controller): add SeaweedFS bucket size metrics via Prometheus
Query SeaweedFS_s3_bucket_size_bytes from a Prometheus-compatible API
to populate s3-storage-bytes resource on bucket Workloads. The
Prometheus URL is configurable via --prometheus-url flag. When set,
bucket WorkloadMonitors are requeued every 60s to keep sizes current.

When Prometheus is not configured, buckets still get tracked with
s3-buckets=1 for existence-based billing.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: ZverGuy <maximbel2003@gmail.com>
2026-04-17 10:58:47 +03:00
..
dashboard feat(application): add WorkloadsReady condition and Events tab (#2356) 2026-04-16 10:18:55 +02:00
fluxplunger feat(platform): add flux-plunger controller 2026-01-19 13:20:08 +01:00
kubeovnplunger [kubeovn] Implement the KubeOVN plunger 2025-09-11 02:11:58 +03:00
applicationdefinition_controller.go [platform] Make cozystack-api reconciliation always use Deployment 2026-02-14 01:59:40 +01:00
applicationdefinition_helmreconciler.go refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
suite_test.go Move project from aenix-io to cozystack repository 2025-03-10 21:16:58 +01:00
workload_controller.go [cozystack-controller] Refactor errors 2025-07-21 18:46:48 +02:00
workload_controller_test.go fix(controller): update workload test to use current label name 2026-02-18 00:49:57 +03:00
workloadmonitor_controller.go feat(controller): add SeaweedFS bucket size metrics via Prometheus 2026-04-17 10:58:47 +03:00
workloadmonitor_controller_test.go feat(controller): add SeaweedFS bucket size metrics via Prometheus 2026-04-17 10:58:47 +03:00