Skip to main content

guides/tabs.md

# Tab Reference

## Functions Tab

Shows all registered function configs (`FunConfig` structs) for the selected service.

| Column | Description |
| --- | --- |
| Request Type | The API endpoint name (e.g., `get_user`) |
| Version | Semantic version string |
| Response Type | `:sync`, `:async`, `:stream`, or `:none` |
| Nodes | Target nodes for execution |
| Disabled | Whether the function is disabled |

Press `Enter` on a function to see full details including MFA, arg types, timeout, permission config, retry policy, and hooks.

## Call Flows Tab

Shows all registered call flows across all services, as reported by `PhoenixGenApi.Diagnostics.list_call_flows/0`.

| Column | Description |
| --- | --- |
| Service | The service name |
| Request Type | The API endpoint name |
| Version | Config version |
| Target | Target execution node |
| Enabled | Whether the flow is enabled |

## Cluster Tab

Shows the cluster topology from the perspective of the current node:

- **Connected nodes** — all nodes in the Erlang cluster
- **Registered processes** — process names registered on each node
- **PhoenixGenApi services** — which services are reachable on each node
- **Node selection strategies** — available strategies (random, hash, round_robin, sticky)

## Health Tab

Shows runtime health check results:

- **VM** — process count, memory usage, schedulers, uptime
- **Node** — alive status, connected nodes
- **PhoenixGenApi** — status of ConfigDb, ConfigPuller, RateLimiter, WorkerPools, Relay

Status indicators:
- `✓` — OK
- `✗` — Error
- `○` — Unknown

## Stats Tab

Shows detailed VM and PhoenixGenApi statistics:

- **VM** — process count, port count, ETS tables, memory breakdown, reductions, GC, context switches, scheduler wall time
- **PhoenixGenApi** — ConfigDb count, services, rate limiter instances, worker pool status, relay status, telemetry event coverage

Large numbers are formatted with K/M suffixes for readability.

## Rate Limits Tab

Shows rate limiter configuration:

- **Global limits** — sliding-window limits keyed by user_id, device_id, etc.
- **API limits** — per-service/per-request-type limits

Each limit shows the key, max requests, and window duration.