sdk-java
sdk-java copied to clipboard
[Feature Request] Add counter metric for unaccessed failed promises
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);