pmSearchInfo - Man Page
diagnostic metrics of PCP search services
C Synopsis
#include <pcp/pmwebapi.h>
int pmSearchInfo(pmSearchSettings *settings, sds key, void *arg);
cc ... -lpcp_web
Description
Diagnostic metrics related to the Performance Co-Pilot (PCP) fast, scalable and full-text capable search services.
Currently, as all full-text related services are using single ValkeySearch index, diagnostic metrics are requestable by passing in key with a value of `text'. The results will passed to on_metrics callback provided by settings.
Diagnostics
This function always returns zero on success. On failure a negative PMAPI error code is returned.
See Also
pmproxy(1), pmlogger(1), pmsearch(1), pmSearchSetup(3), PMAPI(3) and PMWEBAPI(3).
Referenced By
PCP Performance Co-Pilot