sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

[Feature Request] Add counter metric for unaccessed failed promises

Open tsurdilo opened this issue 5 months ago • 0 comments

https://github.com/temporalio/sdk-java/blob/master/temporal-sdk/src/main/java/io/temporal/internal/sync/DeterministicRunnerImpl.java#L336-L347

Would be useful to have a counter metric for this. Would allow detection so can fix in code if was oversight not to wait on promise,or ignore warning via something like

promise.exceptionally(e->null); or promise.handle((ex, failure) -> null);

tsurdilo avatar May 27 '25 20:05 tsurdilo