Skip to content

Commit

Permalink
[wf-Diagnostics] fix the usage logs data emitted by wf diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
sankari165 committed Jan 15, 2025
1 parent be54846 commit 4ae98b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/worker/diagnostics/analytics/emitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func (et *emitter) EmitUsageData(ctx context.Context, data WfDiagnosticsUsageDat
msg[DiagnosticsWfID] = data.DiagnosticsWorkflowID
msg[DiagnosticsWfRunID] = data.DiagnosticsRunID
msg[Environment] = data.Environment
msg[DiagnosticsStartTime] = data.DiagnosticsStartTime
msg[DiagnosticsEndTime] = data.DiagnosticsEndTime
msg[DiagnosticsStartTime] = data.DiagnosticsStartTime.UTC().UnixMilli()
msg[DiagnosticsEndTime] = data.DiagnosticsEndTime.UTC().UnixMilli()

serializedMsg, err := json.Marshal(msg)
if err != nil {
Expand Down

0 comments on commit 4ae98b8

Please sign in to comment.