traceloop
traceloop copied to clipboard
HTTP API does not return HTTP error codes
If registering fails or if dumping fails because no trace can be found, traceloop should return HTTP error codes so that clients can react on errors (e.g., curl -f).
Currently it's always a 200 OK response even if dumping fails because there is no trace (prog with name "MYNAME" not found).