NAME
BenchmarkAnything::Storage::Frontend::HTTP::Controller::Search - BenchmarkAnything - REST API - data query
hello
Returns a hello answer. Mostly for self and unit testing.
search
Parameters:
value_id (INTEGER)
If a single integer value is provided the complete data point for that ID is returned.
JSON request body
If a JSON request is provided it is interpreted as query according to BenchmarkAnything::Storage::Backend::SQL::search().
listnames
Returns a list of available benchmark metric NAMEs.
Parameters:
pattern (STRING)
If a pattern is provided it restricts the results. The pattern is used as SQL LIKE pattern, i.e., it allows to use
%
as wildcards.
listkeys
Returns a list of additional key names.
Parameters:
pattern (STRING)
If a pattern is provided it restricts the results. The pattern is used as SQL LIKE pattern, i.e., it allows to use
%
as wildcards.
stats
Returns a hash with info about the storage, like how many data points, how many metrics, how many additional keys, are stored.
Parameters: none
AUTHOR
Steffen Schwigon <ss5@renormalist.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Steffen Schwigon.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.