Skip to content

Report task duration on Java outcome events and workflow nodes #483

Closed

Description

@pratyush618

Java exposes only raw timestamps, so every consumer recomputes elapsed time by hand.

  • sdks/java/src/main/java/org/byteveda/taskito/events/OutcomeEvent.java — no duration field
  • sdks/java/src/main/java/org/byteveda/taskito/workflows/NodeSnapshot.java — raw startedAt/completedAt longs only

Add a durationMs() accessor on both (and on the middleware task context if it has the timestamps), matching what the other SDKs report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestjavaJava SDK

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions