LR6: monitoring and SLO

This commit is contained in:
R0flyan
2026-11-19 19:24:45 +03:00
parent 470d9d6f1e
commit 6a9c4175a4
75 changed files with 8734 additions and 42 deletions
+20
View File
@@ -0,0 +1,20 @@
// Standalone health probe for the minimal MinIO container.
package main
import (
"net/http"
"os"
"time"
)
func main() {
client := http.Client{Timeout: time.Second}
response, err := client.Get("http://127.0.0.1:9000/minio/health/ready")
if err != nil {
os.Exit(1)
}
response.Body.Close()
if response.StatusCode != 200 {
os.Exit(1)
}
}