diff --git a/cmd/stcrashreceiver/main.go b/cmd/stcrashreceiver/main.go index 15f48c17b..ec57e9e9b 100644 --- a/cmd/stcrashreceiver/main.go +++ b/cmd/stcrashreceiver/main.go @@ -69,6 +69,9 @@ func main() { } mux.Handle("/", cr) + mux.HandleFunc("/ping", func(w http.ResponseWriter, req *http.Request) { + w.Write([]byte("OK")) + }) if params.DSN != "" { mux.HandleFunc("/newcrash/failure", handleFailureFn(params.DSN, filepath.Join(params.Dir, "failure_reports")))