pmSearchInfo3
Diagnostic metrics of pcp search services
C synopsis
#include <pcp/pmwebapi.h>
int pmSearchInfo(pmSearchSettings *settings, sds key, void *arg);
cc ... -lpcp_web
Overview
Provides diagnostic information about the Performance Co-Pilot (PCP) full-text search index.
Diagnostic metrics are requestable by passing in key with a value of `text'. The results (such as document count) will be passed to the on_metrics callback provided by settings.
Diagnostics
This function always returns zero on success. On failure a negative PMAPI error code is returned.
Releases
4 releases since Debian 11 (Bullseye); the text changed 2 times.