cadence-java-client
cadence-java-client copied to clipboard
Activity metrics shows identical value
Hello team!
I've noticed that graphs of next metrics on Activity shows are almost same value in case of Activity attempt failure:
- cadence-activity-execution-failed
- cadence-activity-task-failed
I propose to rethink location of metrics in code, let them increment in another cases.
From my point of view metric cadence-activity-execution-failed should be incremented in case of activity failed after all attempts are failed. Metric cadence-activity-task-failed incremented if one attempt of activity execution, on every retry step, failed
Good suggestion.