What would you like?
I would like to create a plugin which receive events from Durable Execution SDK when an event occurs, such as execution starts, operation starts, etc.
- onOperationStart, onOperationEnd, onOperationAttemptStart, onOperationAttemptEnd fire at most once per operation/attempt.
- onOperationAttemptStart and onOperationAttemptEnd will manage a span that is a child of the span managed by onOperationStart and onOperationEnd. That is retry attempts for steps and wait-for-condition operations.
- onExecutionStart, onExecutionEnd fire at most once per execution
- onInvocationStart, onInvocationEnd fire at most once per invocation
proposed design: https://github.com/aws/aws-durable-execution-sdk-js/blob/otel-instrumentation-design-v2/packages/aws-durable-execution-sdk-js/src/documents/JAVA_SDK_OTEL_PLUGIN.md
Possible Implementation
Related work in TypeScript SDK for reference:
Is this a breaking change?
No
Does this require an RFC?
Yes
Additional Context
No response
What would you like?
I would like to create a plugin which receive events from Durable Execution SDK when an event occurs, such as execution starts, operation starts, etc.
proposed design: https://github.com/aws/aws-durable-execution-sdk-js/blob/otel-instrumentation-design-v2/packages/aws-durable-execution-sdk-js/src/documents/JAVA_SDK_OTEL_PLUGIN.md
Possible Implementation
Related work in TypeScript SDK for reference:
Is this a breaking change?
No
Does this require an RFC?
Yes
Additional Context
No response