введение в интерфейс программирования веб-приложений с показателями производительности (introduction to the Performance Metrics Web Application Programming Interface)
Описание (Description)
The PMWEBAPI is a collection of interfaces providing Performance
Co-Pilot services for web applications. It consists of APIs for
web applications querying and analysing both live and historical
performance data, as well as APIs used by web servers.
The usual HTTP URL-encoded optional parameter rules apply and
PMWEBAPI REST requests always follow the convention:
/api/endpoint?parameter1=value1¶meter2=value2
Examples in all following sections use the curl(1) command line
utility with a local pmproxy(1) server listening on port 44322
(default port). The pmjson(1) utility is used to neatly format
any JSON output, as opposed to the compact (minimal whitespace)
form provided by default. The examples in the scalable time
series section use historical data recorded by the pmlogger(1)
service, in conjunction with a local redis-server
(1).