From cf81c5b7cfce7b5e5f05aede4f595697686ce898 Mon Sep 17 00:00:00 2001 From: Stephan Behnke Date: Wed, 5 Feb 2025 10:46:12 -0800 Subject: [PATCH] OTEL omit redundant persistence blobs (#7212) ## What changed? Omitting redundant persistence data blobs. ## Why? Since the original data is already there, serializing the blobs is not useful. Removing it reduces noise. ## How did you test it? ## Potential risks ## Documentation ## Is hotfix candidate? --- common/persistence/persistence_interface.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/persistence/persistence_interface.go b/common/persistence/persistence_interface.go index 8a9d63a95a5..dae3307a23d 100644 --- a/common/persistence/persistence_interface.go +++ b/common/persistence/persistence_interface.go @@ -438,9 +438,9 @@ type ( RunID string ExecutionInfo *persistencespb.WorkflowExecutionInfo - ExecutionInfoBlob *commonpb.DataBlob + ExecutionInfoBlob *commonpb.DataBlob `json:"-"` // redundant in JSON ExecutionState *persistencespb.WorkflowExecutionState - ExecutionStateBlob *commonpb.DataBlob + ExecutionStateBlob *commonpb.DataBlob `json:"-"` // redundant in JSON NextEventID int64 StartVersion int64 LastWriteVersion int64 @@ -476,9 +476,9 @@ type ( RunID string ExecutionInfo *persistencespb.WorkflowExecutionInfo - ExecutionInfoBlob *commonpb.DataBlob + ExecutionInfoBlob *commonpb.DataBlob `json:"-"` // redundant in JSON ExecutionState *persistencespb.WorkflowExecutionState - ExecutionStateBlob *commonpb.DataBlob + ExecutionStateBlob *commonpb.DataBlob `json:"-"` // redundant in JSON StartVersion int64 LastWriteVersion int64 NextEventID int64