Skip to navigation

Remediation Orchestrator Platform SLOs

View as MarkdownOpen in Claude

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.

Remediation Orchestrator API and Operator Tooling

EndpointPurpose
/healthzLiveness probe (process is up)
/readyzReadiness probe (process is accepting traffic)
/metricsPrometheus scrape endpoint on port 6787 (no auth required)
GET /api/v1/scriptsAuthenticated 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.

MetricDescription
maestro_scriptindexer_indexing_delay_secondsHistogram of indexing delay (from start, from completion, between analysis)
maestro_scriptindexer_indexing_operations_totalCounter of indexing operations by result (success, unchanged, error, expired)
maestro_scriptindexer_workflow_queue_sizeGauge of pending and batch queue depth

Alert on elevated error counts or sustained queue depth growth.