Skip to content

Commit deeaf5e

Browse files
4444J99claude
andcommitted
fix: metric_periodicity defaults to 1s per sdk-core
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 88bceb0 commit deeaf5e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

temporalio/runtime.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ class OpenTelemetryConfig:
325325
headers: Optional headers to include with each export request.
326326
Useful for authentication tokens or routing metadata.
327327
metric_periodicity: How often metrics are exported to the collector.
328-
Defaults to the OpenTelemetry SDK default (typically 60s) when
329-
``None``.
328+
Defaults to 1s (set by sdk-core) when ``None``.
330329
metric_temporality: Whether metrics are exported as cumulative
331330
or delta values. Defaults to ``CUMULATIVE``.
332331
durations_as_seconds: If ``True``, export duration metrics as

0 commit comments

Comments
 (0)