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> |
||
|---|---|---|
| .. | ||
| dashboard | ||
| fluxplunger | ||
| kubeovnplunger | ||
| applicationdefinition_controller.go | ||
| applicationdefinition_helmreconciler.go | ||
| suite_test.go | ||
| workload_controller.go | ||
| workload_controller_test.go | ||
| workloadmonitor_controller.go | ||
| workloadmonitor_controller_test.go | ||