Skip to main content

Get monitoring statistics

GET 

/statistics

Returns document processing and agent execution statistics for a time interval, aggregated from the Prometheus metrics of the API server and the workers, and the number of documents in the processing queue. A statistic whose Prometheus query fails is null, so that a failure is not read as no activity. A statistic for which Prometheus holds no data in the interval is 0. Each Prometheus query has a time limit of 10 seconds.

Permissions. An admin API key: a key with read, write and execute permission on every object type that permissions apply to and the allow-list * on pipelines, such as the master key. The statistics cover every pipeline and agent of the deployment. The admin field of the POST /login response shows whether a key is an admin API key.

Request​

Responses​

The body holds the statistics for the interval.