4.3.0 — 2026-02-22¶
← 4.3.1 | 4.2.0 → | ↑ 4.x series
Added¶
Helpers - Utils¶
- Prometheus Utilities - Added shared Prometheus server management module
- Implemented
prometheus_utilsmodule withis_prometheus_server_running()helper - Added
start_prometheus_server_if_needed()helper for automatic Prometheus server lifecycle management - Prevents duplicate Prometheus server starts across FastAPI, gRPC, and Temporal adapters
- Supports port availability checking before starting Prometheus HTTP server
- Implemented
Adapters - Temporal¶
- Prometheus Metrics Integration - Added Temporal metrics collection with Prometheus
- Implemented
TemporalRuntimeManagersingleton for managing Runtime instances with telemetry - Integrated Runtime with PrometheusConfig into TemporalAdapter client and Worker
- Added
ENABLE_METRICSandMETRICS_PORTconfiguration options toTemporalConfig - Temporal SDK metrics now exported to Prometheus when metrics are enabled
- Metrics include workflow operations, activity executions, and task queue operations
- Added BDD tests for Temporal metrics collection scenarios (
temporal_metric_interceptor.feature)
- Implemented
Changed¶
Configs¶
- Prometheus Configuration - Enhanced BaseConfig with Prometheus support
- Added
PROMETHEUS.IS_ENABLEDflag for enabling/disabling Prometheus metrics globally - Added
PROMETHEUS.SERVER_PORTconfiguration for Prometheus HTTP server port - Updated
.env.testwith Prometheus configuration for testing - Added Temporal metrics configuration (
TEMPORAL.ENABLE_METRICS,TEMPORAL.METRICS_PORT)
- Added
Fixed¶
Adapters - Redis¶
- Type Safety - Fixed Redis adapter type handling
- Added type check for unexpected awaitable results from sync Redis client in
spop()method - Prevents async/sync mismatch errors in Redis operations
- Added type check for unexpected awaitable results from sync Redis client in