HTTP server independent part of the REST API implementation
Get expansion suggestions for the given possibly incomplete query. Used for autocomplete suggestions on the GUI. "commonPrefix" can be used to append to the query if no suggestion is selected. "prefix" can be appended to the query if the given suggestion is selected.
Get list of functions (MFAs) that are called by the specified function (MFA) based on static analysis (ie. not based on runtime information).
Start monitoring based on the specified query string.
Stop monitoring the specified function (MFA).
Return list of monitored functions. (The values of "mod", "fun" and "arity" can be used as params to calls to eg "/api/mon_stop" while "queryvalue" can be used to display the original query string).
Return metrics gathered for the given function since the given timestamp. Each item contains a timestamp and the corresponding histogram metrics values.
Turn on or pause tracing of all processes.
Return current tracing state.
(The initialized
status is basically the same as paused
, additionally
meaning that no tracing was started yet since xprof was started)
Start capturing arguments and return values of function calls that lasted
longer than the specified time threshold in ms. Stop after limit
number of
captured calls.
Stop capturing long calls of the given function (MFA).
Item
is
{"id": number,
"pid": string,
"call_time": number,
"args": string,
"res": string} Return captured arguments and return values.
The Offset
argument is the item index last seen by the caller, only items
newer than that will be returned. An offset of 0 will return all data.
The returned HasMore
indicates whether capturing is still ongoing or it has
been stopped either manually or by reaching the limit.
handle_req/2 |
handle_req(Path :: binary(), Params :: [{binary(), binary()}]) -> StatusCode | {StatusCode, Body}
StatusCode = integer()
Body = binary()
Generated by EDoc