temporalio / sdk-java

Temporal Java SDK
https://temporal.io
Apache License 2.0
199 stars 134 forks source link

Missing metric reporting in local activity execution #2119

Open longquanzheng opened 1 week ago

longquanzheng commented 1 week ago

Expected Behavior

Actual Behavior

They are missing in our production

Screenshot 2024-06-20 at 1 44 16 PM

You can see in the graph that the LA execution metrics are reported but not end to end. In fact, this is happening most of the time. We also pretty sure there are many cases of LA execution failure but not reported based on our workflow history.

Steps to Reproduce the Problem

NA

Specifications

Quinn-With-Two-Ns commented 4 days ago

We also pretty sure there are many cases of LA execution failure but not reported based on our workflow history.

Can you provide a reproduction on this scenario? Do you see the same behaviour for normal activities? We have tests for these metrics and their implementation is identical to normal activity metrics.

longquanzheng commented 2 days ago

Do you see the same behaviour for normal activities?

No regular activity is fine. It is happening in production right now but I don't know how I can produce a sample for you.