v1
latestOpenAPI 3.0.12026-07-17221165.2 KBPerforms a text search query
It performs a text search query across metrics and instance domains - all forms of names and help texts.
The mandatory search string is further described in pmsearch(1) and is passed to the server via the query parameter (HTTP GET).
$ curl -s http://localhost:44322/search/text?query=halt | pmjson
The available search entity types are metric, indom and instance. Query parameters highlight and field take name, oneline and helptext.
Query parameter return takes name, type, oneline, helptext, indom. There is typically both a name and help text associated with metrics. Contents of these are then matched against query. An instance domain has help text and a numeric identifier, while instances have a name only (which can be searched).
Reference: pmSearchTextQuery(3)
Query parameters
Query string in pmsearch(1) format
Include matching markup in response fields
Result offset cursor for pagination
Maximum results to include in response
Queried fields (defaults to all)
Fields to actually return (defaults to all)
Entity types to filter (defaults to all)
Response
OK