Skip to content

Commit 654dc4e

Browse files
docs: add v4.3.0 changelog for Temporal metrics integration
1 parent 46a6203 commit 654dc4e

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

docs/changelog.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,46 @@
22

33
All notable changes to ArchiPy are documented in this changelog, organized by version.
44

5+
## [v4.3.0] - 2026-02-22
6+
7+
### Added
8+
9+
#### Helpers - Utils
10+
11+
- **Prometheus Utilities** - Added shared Prometheus server management module
12+
- Implemented `prometheus_utils` module with `is_prometheus_server_running()` helper
13+
- Added `start_prometheus_server_if_needed()` helper for automatic Prometheus server lifecycle management
14+
- Prevents duplicate Prometheus server starts across FastAPI, gRPC, and Temporal adapters
15+
- Supports port availability checking before starting Prometheus HTTP server
16+
17+
#### Adapters - Temporal
18+
19+
- **Prometheus Metrics Integration** - Added Temporal metrics collection with Prometheus
20+
- Implemented `TemporalRuntimeManager` singleton for managing Runtime instances with telemetry
21+
- Integrated Runtime with PrometheusConfig into TemporalAdapter client and Worker
22+
- Added `ENABLE_METRICS` and `METRICS_PORT` configuration options to `TemporalConfig`
23+
- Temporal SDK metrics now exported to Prometheus when metrics are enabled
24+
- Metrics include workflow operations, activity executions, and task queue operations
25+
- Added BDD tests for Temporal metrics collection scenarios (`temporal_metric_interceptor.feature`)
26+
27+
### Changed
28+
29+
#### Configs
30+
31+
- **Prometheus Configuration** - Enhanced BaseConfig with Prometheus support
32+
- Added `PROMETHEUS.IS_ENABLED` flag for enabling/disabling Prometheus metrics globally
33+
- Added `PROMETHEUS.SERVER_PORT` configuration for Prometheus HTTP server port
34+
- Updated `.env.test` with Prometheus configuration for testing
35+
- Added Temporal metrics configuration (`TEMPORAL.ENABLE_METRICS`, `TEMPORAL.METRICS_PORT`)
36+
37+
### Fixed
38+
39+
#### Adapters - Redis
40+
41+
- **Type Safety** - Fixed Redis adapter type handling
42+
- Added type check for unexpected awaitable results from sync Redis client in `spop()` method
43+
- Prevents async/sync mismatch errors in Redis operations
44+
545
## [v4.2.0] - 2026-02-21
646

747
### Added
@@ -20,17 +60,34 @@ All notable changes to ArchiPy are documented in this changelog, organized by ve
2060
- Implemented `_is_prometheus_server_running()` helper to detect existing Prometheus servers
2161
- Prevents duplicate Prometheus server starts across FastAPI and gRPC applications
2262
- Checks port availability before starting Prometheus HTTP server
63+
- Added `prometheus_utils` module with `is_prometheus_server_running()` and `start_prometheus_server_if_needed()` helpers for shared Prometheus server management across adapters
2364

2465
#### Adapters - Temporal
2566

67+
- **Prometheus Metrics Integration** - Added Temporal metrics collection with Prometheus
68+
- Implemented `TemporalRuntimeManager` singleton for managing Runtime instances with telemetry
69+
- Integrated Runtime with PrometheusConfig into TemporalAdapter client and Worker
70+
- Added `ENABLE_METRICS` and `METRICS_PORT` configuration options to `TemporalConfig`
71+
- Temporal SDK metrics now exported to Prometheus when metrics are enabled
72+
- Metrics include workflow operations, activity executions, and task queue operations
73+
2674
- **BDD Test Coverage** - Added comprehensive Behave tests for Temporal adapter
2775
- Implemented persistent event loop per scenario to keep workers alive across steps
2876
- Added test workflows and activities for various scenarios (greeting, signal/query, timeout, retry)
2977
- Integrated Temporal container support with dev mode SQLite backend
3078
- Fixed workflow execution to use `run_async` helper for proper async handling
79+
- Added BDD tests for Temporal metrics collection scenarios
3180

3281
### Changed
3382

83+
#### Configs
84+
85+
- **Prometheus Configuration** - Added Prometheus configuration to BaseConfig
86+
- Added `PROMETHEUS.IS_ENABLED` flag for enabling/disabling Prometheus metrics globally
87+
- Added `PROMETHEUS.SERVER_PORT` configuration for Prometheus HTTP server port
88+
- Updated `.env.test` with Prometheus configuration for testing
89+
- Added Temporal metrics configuration (`TEMPORAL.ENABLE_METRICS`, `TEMPORAL.METRICS_PORT`)
90+
3491
#### Adapters - StarRocks
3592

3693
- **Async Driver Migration** - Improved async database driver support
@@ -64,6 +121,12 @@ All notable changes to ArchiPy are documented in this changelog, organized by ve
64121

65122
### Fixed
66123

124+
#### Adapters - Redis
125+
126+
- **Type Safety** - Fixed Redis adapter type handling
127+
- Added type check for unexpected awaitable results from sync Redis client in `spop()` method
128+
- Prevents async/sync mismatch errors in Redis operations
129+
67130
#### Type Safety
68131

69132
- **Ty Compliance** - Resolved all 418 type checker errors

0 commit comments

Comments
 (0)