1PMSEARCHTEXTINDOM(3)       Library Functions Manual       PMSEARCHTEXTINDOM(3)
2
3
4

NAME

6       pmSearchTextInDom  -  search for all entities related to given instance
7       domain
8

C SYNOPSIS

10       #include <pcp/pmwebapi.h>
11
12       int pmSearchTextInDom(pmSearchSettings  *settings,  pmSearchTextRequest
13       *request, void *arg)
14
15       cc ... -lpcp_web
16

DESCRIPTION

18       Executes  search  for all metrics, instances and instance domains, that
19       are related to given instance domain as specified by request:
20
21       query
22            Target instance domain.
23
24       count
25            Limits number of results. Defaults to 10.
26
27       offset
28            Search offset. Defaults to 0.
29
30       Results are ordered by type in an ascending order.
31
32       Each entity matched by the request above will be passed to  on_text_re‐
33       sult callback provided by settings.
34

DIAGNOSTICS

36       This  function  always  returns zero on success.  On failure a negative
37       PMAPI error code is returned.
38

SEE ALSO

40       pmproxy(1),  pmlogger(1),   pmsearch(1),   redis-server(1),   pmSearch‐
41       Setup(3), PMAPI(3) and PMWEBAPI(3).
42
43
44
45Performance Co-Pilot                  PCP                 PMSEARCHTEXTINDOM(3)
Impressum