v1

latestOpenAPI 3.0.12026-07-17221165.2 KB
PMAPI HOST SERVICES

Allows a web context identifier to be passed as a parameter

This request is a subset of the style described in the OPEN METRICS and OPEN TELEMETRY section, allowing a web context identifier to be passed as a parameter. It is otherwise very similar in terms of parameters and response handling, please refer to the earlier section for details.

Reference: pmLookupDesc(3), pmLookupLabels(3), pmFetch(3)

get/pmapi/metrics

Query parameters

namesstring

Comma-separated list of metric names

timesboolean

Append sample times (milliseconds since epoch)

contextnumber

Web context number (optional like hostspec)

hostspecstring

Host specification as described in PCPIntro(1)

polltimeoutnumber

Seconds of inactivity before closing context

clientstring

Request identifier sent back with response

Response

OK