Database / BetterDB Interview questions
List the ways you can access data in BetterDB Monitor?
BetterDB's own philosophy is that everything shown in the UI is also reachable another way, so the same underlying data is available through five distinct interfaces depending on what's consuming it.
| Interface | Details |
| Web UI | http://localhost:3001 |
| MCP server | npx @betterdb/mcp (stdio); token from Settings → MCP Tokens |
| Prometheus | http://localhost:3001/api/prometheus/metrics |
| REST API (OpenAPI) | http://localhost:3001/docs |
| Health check | http://localhost:3001/api/health |
A person clicks through the Web UI, an AI assistant talks to the MCP server, a monitoring stack scrapes Prometheus, a script or another service calls the REST API directly, and an orchestrator like Kubernetes polls the health check – five different consumers of the same data, each using the interface that fits it.
More Related questions...