Skip to content

Commit df8835e

Browse files
committed
docs: mention replay-safe loggers and end replay comment with a period
1 parent 3255ee6 commit df8835e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎contrib/temporal-opentelemetry-v2/src/main/java/io/temporal/opentelemetry/v2/ReplaySafeOpenTelemetry.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
/**
3333
* The {@link OpenTelemetry} to use for OpenTelemetry integration with Temporal. Register it with
34-
* {@code GlobalOpenTelemetry.set}; tracers and meters obtained from it are replay safe inside
35-
* workflows.
34+
* {@code GlobalOpenTelemetry.set}; tracers, meters, and loggers obtained from it are replay safe
35+
* inside workflows.
3636
*/
3737
@Experimental
3838
public final class ReplaySafeOpenTelemetry implements OpenTelemetry, Closeable {

‎contrib/temporal-opentelemetry-v2/src/test/java/io/temporal/opentelemetry/v2/LoggerTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void liveExecutionEmitsAndReplayDoesNotDuplicate() throws Exception {
113113
workflow.proceed();
114114
WorkflowStub.fromTyped(workflow).getResult(Void.class);
115115

116-
// Replay the full workflow history and verify the run's record is suppressed on replay
116+
// Replay the full workflow history and verify the run's record is suppressed on replay.
117117
WorkflowReplayer.replayWorkflowExecution(
118118
testWorkflowRule.getExecutionHistory(execution.getWorkflowId()), TestWorkflowImpl.class);
119119

0 commit comments

Comments
 (0)