zshot/cliDownload

Metrics

GET /metrics serves these series in the Prometheus text format when --server-enable-prometheus is set. Protect it with --server-prometheus-auth or move it to a private listener with --server-prometheus-bind-address and --server-prometheus-bind-port.

MetricTypeLabelsDescription
zshot_requests_totalcounterendpoint, format, outcomeCompleted renders. outcome is success or error.
zshot_request_duration_secondshistogramformat, cache, statusREST render response time; MCP renders are not counted. cache is hit or miss; status is the HTTP status code.
zshot_requests_in_flightgaugeRenders in progress.
zshot_requests_queuedgaugeRequests waiting in the concurrency queue.
zshot_browsers_opengaugekindBrowsers open. kind is render for a request’s own browser, crawl for a crawl’s further browsers, or cdp for --cdp pages. A crawl counts as one request in flight however many browsers it runs.
zshot_auth_failures_totalcounterendpoint, format, reasonRejected credentials or signatures.
zshot_llm_calls_totalcounterrole, provider, nameNavigator and formatter model calls, failed calls included.
zshot_llm_tokens_totalcounterrole, provider, name, typeModel tokens. type is input or output; input includes cached tokens.
zshot_llm_cache_tokens_totalcounterrole, provider, name, typeCached input tokens. type is read or write.
zshot_http_requests_totalcountermethod, endpoint, statusEvery HTTP request.
zshot_http_requests_duration_secondshistogrammethod, endpoint, statusEvery HTTP request’s response time.
zshot_http_requests_pendinggaugemethod, endpointHTTP requests in progress.

Labels

LabelValues
endpoint on zshot_* seriesget, post, delete, mcp, assets, metrics
endpoint on zshot_http_* seriesthe request path
formatthe output type’s extension, or none for /metrics
reasonmissing_credentials, invalid_credentials, missing_signature, invalid_signature, expired_signature, missing_expires, expires_too_far
rolenavigator or formatter
namethe model’s name=, empty without one; past 100 distinct names, (other)