OpenSRE connects to Temporal’s HTTP API (the
/api/v1/... REST interface served
by the frontend service). This is a self-hosted server feature, enabled with the
--http-port flag (dev server) or frontend.httpPort config.Temporal Cloud is not currently supported: Cloud exposes only gRPC/mTLS endpoints
for workflow data and an HTTP Ops API for control-plane management — neither is the
frontend HTTP API this integration uses. Point OpenSRE at a self-hosted Temporal
deployment.Prerequisites
- A self-hosted Temporal Server with the HTTP API enabled
- The HTTP API base URL (and an API key only if your deployment requires bearer auth)
Setup
Option 1: Environment variables
Option 2: Persistent store
Add to~/.opensre/integrations.json:
Self-hosted Temporal Server
Setbase_url to the frontend’s HTTP API endpoint. Ensure the HTTP API is enabled —
it is a distinct listener from the gRPC frontend (frontend.httpPort in static config,
or --http-port on the dev server).
Quick local test with Docker
Thetemporalio/temporal image bundles the CLI and an embedded dev server. Pin the
HTTP port explicitly (it is random by default) and bind to all interfaces so it is
reachable from the host:
Confirm the HTTP API is answering before configuring the integration:
Investigation tools
When OpenSRE investigates a Temporal-related alert, four diagnostic tools are available:Typical investigation flow
- Namespace info — get a high-level picture: how many workflows are running vs failed?
- Workflows — filter to failed/timed-out executions, identify the affected workflow type and task queue
- Workflow history — drill into a specific execution to find which activity failed and why
- Task queue — check if workers are polling and whether the queue has a growing backlog
Troubleshooting
Security best practices
- Use a read-only API key where your deployment supports scoped auth — OpenSRE never writes to Temporal.
- Restrict network access to the HTTP API to trusted IPs.
- Store credentials in
~/.opensre/integrations.jsonor environment variables, not in source code.