EaserixDocs
DevelopersAPI referenceLinksSystem

Click writer and recount counters (password-protected)

Operator-facing, not tenant-facing: this process's click writer queue and drop/failure counters, and the click recount job's drift counters. Reset to zero on restart and not aggregated across replicas. Gated by the same Basic Auth as /docs.

View as Markdown
GET
/debug/clicks/stats

Authorization

docsBasic
AuthorizationBasic <token>

Gates /docs, /docs/openapi.yaml, /debug/webhooks/stats and /debug/clicks/stats. Credentials come from the DOCS_USER/DOCS_PASSWORD env vars; if either is unset the routes are not registered at all (404), never served open.

In: header

Response Body

application/json

curl -X GET "https://example.com/debug/clicks/stats"
{  "writer": {    "queueDepth": 0,    "queueCapacity": 0,    "droppedClicks": 0,    "overflowPending": 0,    "flushFailures": 0,    "lostClicks": 0  },  "recount": {    "scanned": 0,    "behind": 0,    "ahead": 0,    "repaired": 0,    "failedRuns": 0  }}