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#

Health endpoints#

What

Where

How to enable

Liveness: the process is up, no dependency probed

GET /v1/health/live

Always on. Needs no credentials

Readiness: dependency probes, one entry per check

GET /v1/health/ready

Always on. Needs no credentials. Returns 200 when ready and 503 when not

MCP server readiness

GET /readyz on the MCP port

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

GET /v1/status?window=7d

Run the health-monitor service. The result is flagged stale when the monitor has not finished a recent cycle

Probe history of one service

GET /v1/status/services/{service_id}/history

Same

History with coverage and a timeline

GET /v1/status/services/{service_id}/history-detail

Same

Incidents, open or closed

GET /v1/status/incidents

Same

GPU state, scheduling policy and queued work

GET /v1/status/gpus

Same. Returns 503 when GPU control is unavailable

Turn scheduling on one GPU on or off

PATCH /v1/status/gpus/{uuid}

Needs the gpu:manage scope. Workload credentials are refused

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

health-monitor

Polls the API and records status history and incidents. Interval: GEONEMO_STATUS_POLL_INTERVAL_SECONDS, default 60

Part of the toolkit composition in deploy/compose.yml; starts with the stack

telemetry-retention

Deletes old telemetry records and the toolkit’s old status history

Part of the monitoring part’s Compose file; starts with the stack

agent-monitor

Samples agent runs and resources for the fleet views. Interval: GEONEMO_AGENT_MONITOR_INTERVAL_SECONDS, default 15

Compose profile agent-monitoring

monitoring-api

Serves /v1/telemetry, /v1/agent-monitoring and /v1/agent-traces

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 GEONEMO_OTLP_ENDPOINT (default http://phoenix:4317)

On by default. Set GEONEMO_TRACING_ENABLED=0 to turn it off. If the exporter cannot start, the server continues without it

Phoenix, the trace store and UI

Service phoenix, UI on port 6006 inside the network

Part of the monitoring part’s Compose file. The development stack publishes it on http://127.0.0.1:16006

Phoenix address that the server probes

GEONEMO_PHOENIX_ENDPOINT, default http://phoenix:6006

Set it when Phoenix has another address

Addresses that discovery gives to clients

GEONEMO_PUBLIC_PHOENIX_ENDPOINT and GEONEMO_PUBLIC_OTLP_ENDPOINT

Set them to the addresses that clients can reach

Agent traces by project

GEONEMO_AGENT_PHOENIX_PROJECT, default default

Set it to the Phoenix project that holds agent traces

Agent traces over the API

GET /v1/agent-traces

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 dcgm-exporter, port 9400 on the backend network

Compose profile agent-monitoring. Needs the NVIDIA container runtime and a GPU. Read only by agent-monitor; image set by GEONEMO_DCGM_EXPORTER_IMAGE

GPU status in the API

GET /v1/status/gpus

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 docker compose logs SERVICE

Always on

Log level

GEONEMO_LOG_LEVEL, default INFO; for example DEBUG or WARNING

Set it in the environment file

Log rotation

The json-file driver with max-size 10m and max-file 3 per server container

Set in deploy/templates.yml. Change it there for another policy

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

GEONEMO_STATUS_OBSERVATION_RETENTION_DAYS

status.observation_retention_days

30 days

Status incidents

GEONEMO_STATUS_INCIDENT_RETENTION_DAYS

status.incident_retention_days

365 days

Telemetry errors

GEONEMO_TELEMETRY_ERROR_RETENTION_DAYS

telemetry.error_retention_days

30 days, at most 10,000 records

Telemetry events

GEONEMO_TELEMETRY_EVENT_RETENTION_DAYS

telemetry.event_retention_days

30 days, at most 50,000 records

Agent monitoring samples

GEONEMO_AGENT_MONITORING_RETENTION_DAYS

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.