public
|
postStats(array $params = []): array
Retrieves filtered performance metrics for the SQL plugin.
Retrieves filtered performance metrics for the SQL plugin.
$params['format'] = (string) Specifies the response format (JSON or YAML).
$params['sanitize'] = (boolean) Whether to escape special characters in the results. (Default = true)
$params['pretty'] = (boolean) Whether to pretty-format the returned JSON response. (Default = false)
$params['human'] = (boolean) Whether to return human-readable values for statistics. (Default = false)
$params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
$params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
$params['filter_path'] = (any) A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use - .
Parameters
$params |
Associative array of parameters
|
|
#
|