Observe the server#
This page lists what the GeoNeMo server reports about itself, where to read it and how to turn it on. The pieces come from the toolkit server and from the reference monitoring application (Applications).
Prerequisites#
A running composition (Run the local stack or Production checklist).
For the status API, a token with read access (Sign in and tokens).
Health endpoints#
What |
Where |
How to enable |
|---|---|---|
Liveness: the process is up, no dependency probed |
|
Always on. Needs no credentials |
Readiness: dependency probes, one entry per check |
|
Always on. Needs no credentials. Returns 200 when ready and 503 when not |
MCP server readiness |
|
Always on. The Compose health check uses it |
curl https://geonemo.example.com/v1/health/ready
The readiness body lists checks. Each check has a name, a state, a detail and a
latency_ms. A state is ready, degraded, failed, unknown or disabled. The
Compose health check of the API calls the liveness endpoint. Use readiness for a load
balancer or a deploy gate. Both routes are in Health API.
Status API#
The health monitor polls the API and stores what it finds. The status API reads that history.
What |
Where |
How to enable |
|---|---|---|
Summary of every monitored service over 24 hours, 7 days or 30 days |
|
Run the |
Probe history of one service |
|
Same |
History with coverage and a timeline |
|
Same |
Incidents, open or closed |
|
Same |
GPU state, scheduling policy and queued work |
|
Same. Returns 503 when GPU control is unavailable |
Turn scheduling on one GPU on or off |
|
Needs the |
These routes need a bearer token or a console session. See Status API.
Health monitor and agent monitor#
health-monitor belongs to the toolkit and records status history and process heartbeats
with or without the monitoring part. The other services belong to the monitoring part, so
they exist only when the parts list names it.
Service |
What it does |
How to enable |
|---|---|---|
|
Polls the API and records status history and incidents. Interval: |
Part of the toolkit composition in |
|
Deletes old telemetry records and the toolkit’s old status history |
Part of the monitoring part’s Compose file; starts with the stack |
|
Samples agent runs and resources for the fleet views. Interval: |
Compose profile |
|
Serves |
Part of the monitoring part’s Compose file; starts with the stack. It is its own API role (API roles) |
If the readiness endpoint is unavailable, the health monitor records the API as failed and dependent checks as unknown. It does not record them as disabled.
Traces#
What |
Where |
How to enable |
|---|---|---|
OpenTelemetry spans from the server |
Exported over OTLP gRPC to |
On by default. Set |
Phoenix, the trace store and UI |
Service |
Part of the monitoring part’s Compose file. The development stack publishes it on |
Phoenix address that the server probes |
|
Set it when Phoenix has another address |
Addresses that discovery gives to clients |
|
Set them to the addresses that clients can reach |
Agent traces by project |
|
Set it to the Phoenix project that holds agent traces |
Agent traces over the API |
|
Needs the monitoring API role |
Server spans use the Phoenix project geonemo-service-diagnostics. The OTLP endpoint has
no authentication in the server’s exporter, so keep it on the backend network. The
settings are in Server settings.
GPU metrics#
What |
Where |
How to enable |
|---|---|---|
GPU counters from the NVIDIA DCGM exporter |
Service |
Compose profile |
GPU status in the API |
|
See the status API above |
The exporter container needs the SYS_ADMIN capability. Keep it off hosts without GPUs.
Logs#
What |
Where |
How to enable |
|---|---|---|
Server process log |
Container standard output; read with |
Always on |
Log level |
|
Set it in the environment file |
Log rotation |
The |
Set in |
Retention#
Retention keeps the monitoring stores from growing without bound. Set each value in the
environment file or in services.yaml under the key shown (Configuration).
Data |
Setting |
Key |
Default |
|---|---|---|---|
Status observations |
|
|
30 days |
Status incidents |
|
|
365 days |
Telemetry errors |
|
|
30 days, at most 10,000 records |
Telemetry events |
|
|
30 days, at most 50,000 records |
Agent monitoring samples |
|
none |
7 days (1 to 31) |
The record limits are GEONEMO_TELEMETRY_ERROR_MAX_RECORDS and
GEONEMO_TELEMETRY_EVENT_MAX_RECORDS. telemetry-retention runs a pass every
telemetry.retention_interval_seconds (default 3600, at least 60). The server settings do
not set Phoenix trace retention; Phoenix keeps its data in the phoenix_data volume.
Result#
A call to /v1/health/ready returns the checks, /v1/status shows the monitored
services, and Phoenix shows the traces that the server exports.