Skip to content

Commit

Permalink
Document /nirn/healthz
Browse files Browse the repository at this point in the history
  • Loading branch information
germanoeich committed Apr 22, 2022
1 parent c2815d3 commit eb19fe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ As projects grow, it's desirable to break them into multiple pieces, each respon

This will vary depending on your usage, how many unique routes you see, etc. For reference, for Dynos use case, doing 150req/s, the usage is ~0.3 CPU and ~550MB of RAM. The proxy can comfortably run on a cheap VPS or an ARM based system.

### Metrics
### Metrics / Health

| Key | Labels | Description |
|------------------------------------|----------------------------------------|------------------------------------------------------------|
Expand All @@ -105,6 +105,8 @@ This will vary depending on your usage, how many unique routes you see, etc. For

Note: 429s can produce two status: 429 Too Many Requests or 429 Shared. The latter is only produced for requests that return with the x-ratelimit-scope header set to "shared", which means they don't count towards the cloudflare firewall limit and thus should not be used for alerts, etc.

The proxy has an internal endpoint located at `/nirn/healthz` for liveliness and readiness probes.

### Profiling

The proxy can be profiled at runtime by enabling the ENABLE_PPROF flag and browsing to `http://ip:7654/debug/pprof/`
Expand Down

0 comments on commit eb19fe8

Please sign in to comment.