The proxy

Monitoring

Three ways to see how a proxy is doing: the Proxies page in your dashboard, the proxy’s own status page, and its logs.

The Proxies page

Each proxy reports to Awenen once a minute, and once more when it stops. Proxies lists every one that reported in the last hour, with what it uses against its limits and what went wrong.

  • Running, stopped or not reporting. A proxy that hasn’t reported for three minutes is flagged: it crashed, lost its network, or can’t reach Awenen.
  • CPU, memory, open files and disk against the container’s limits, with the hour’s peak. Time held back by the CPU limit shows as throttling.
  • Requests your site didn’t answer, events dropped, and errors in Awenen’s own code.
  • Its version, flagged when a newer one is out.

Each restart starts a new replica, so a restarted proxy shows once as stopped and once as running until the hour passes. What the proxy sends lists everything a report holds.

The status page

Each proxy answers on its status port, 8081, at /status. Use it for readiness probes, and to check a proxy directly.

GET http://127.0.0.1:8081/status
{  "service": "awenen-proxy",  "version": "0.1.0",  "shipping": true,  "recorded": 5000,  "shipped": 5000,  "dropped": 0,  "queued": 0,  "errors": {    "requests": 5000,    "inFlight": 0,    "upstreamFailed": 0,    "upstreamTimedOut": 0,    "clientAborted": 0,    "internalErrors": 0  }}
  • shipping is false when the key or ingest address is missing.
  • shipped catches up with recorded within a second or two. A rising dropped means Awenen can’t be reached or refuses the key; the logs say which.
  • upstreamFailed and upstreamTimedOut count requests your site didn’t answer, which visitors saw as a 502 or 504.

The page also reports the proxy’s CPU, memory and limits. It is never reachable from the internet as long as you don’t publish port 8081.

Logs

Read them where your platform keeps container output: docker logs awenen-proxy, kubectl logs deploy/my-site -c awenen-proxy, or for Container Apps:

Terminal
az containerapp logs show --name my-site --resource-group my-rg --container awenen-proxy --follow

Each problem is logged at most once a minute with a count of how many more there were, so a site that goes down can’t flood your logs. Configuration shows how to see more.

Your own monitoring

Turn on OpenTelemetry to send the proxy’s metrics, logs and sampled traces to your own tools. Its own measures are under awenen.proxy.*: requests, requests in flight, failures by reason, events by outcome and events waiting to be sent.