> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# Remediation Orchestrator Platform SLOs

> SLOs for the Remediation Orchestrator platform itself, owned by the operator team running it

<a id="maestro-platform-slos"></a>

These signals cover the health of the Remediation Orchestrator database, Temporal runtime, and API. They are the responsibility of the operator team running the Remediation Orchestrator deployment, not the Remediation Orchestrator engineering team.

## Database (PostgreSQL)

`/healthz` and `/readyz` are shallow process probes that return `200 OK` regardless of database state. `/status` checks that write locks can be acquired on key PostgreSQL tables and that the Temporal connection is healthy, and returns `503` when a check fails. Monitor `/status` with an external probe, but do not use it for Kubernetes liveness or readiness probes. Also monitor PostgreSQL with a PostgreSQL exporter scraped by your Prometheus stack.

Key signals to alert on:

- Disk capacity: Remediation Orchestrator's workflow history accumulates over time; alert before the volume fills
- Replication lag: if using a standby
- Connection pool saturation: Remediation Orchestrator uses `pgxpool`; watch for pool exhaustion under load
- Memory pressure: watch for steady heap growth or OOM kills; a crashed PostgreSQL process interrupts all in-flight workflows
- I/O saturation: high iowait or disk throughput can directly bottlenecks query execution db operations especially WAL writes
- CPU saturation: sustained high CPU can delay query execution and processing

## Temporal

Temporal is the durable execution runtime for all Remediation Orchestrator workflows. The key signal is `temporal_workflow_task_execution_failed`. Remediation Orchestrator code in several modules surfaces non-retryable failures on this metric specifically for Grafana alerting.

The Temporal UI is proxied through Remediation Orchestrator at `/temporal/`. If it is unreachable, operators lose visibility into running workflows.

Monitor the Temporal host key metrics such as CPU, memory, and I/O etc. Any of these directly slows workflow task dispatch and history.

<a id="maestro-api-and-operator-tooling"></a>

## Remediation Orchestrator API and Operator Tooling

| Endpoint | Purpose |
|----------|---------|
| `/healthz` | Liveness probe (process is up) |
| `/readyz` | Readiness probe (process is accepting traffic) |
| `/metrics` | Prometheus scrape endpoint on port 6787 (no auth required) |
| `GET /api/v1/scripts` | Authenticated API. Use to verify end-to-end connectivity including auth |

Alert if the API becomes unreachable or if `GET /api/v1/scripts` returns non-2xx responses. The operator dashboard and all script-triggering pipelines depend on the API being available.

## Script Indexer

The script indexer keeps Remediation Orchestrator's workflow registry in sync with committed scripts. Stale indexing means newly pushed scripts are not available for execution.

| Metric | Description |
|--------|-------------|
| `maestro_scriptindexer_indexing_delay_seconds` | Histogram of indexing delay (from start, from completion, between analysis) |
| `maestro_scriptindexer_indexing_operations_total` | Counter of indexing operations by result (`success`, `unchanged`, `error`, `expired`) |
| `maestro_scriptindexer_workflow_queue_size` | Gauge of pending and batch queue depth |

Alert on elevated `error` counts or sustained queue depth growth.