# How can we get alerted about non deterministic or panic error

**URL:** <https://community.temporal.io/t/how-can-we-get-alerted-about-non-deterministic-or-panic-error/10613>\
**Category:** Community Support\
**Tags:** go-sdk\
**Created:** [January 9, 2024, 2:24pm UTC](https://community.temporal.io/t/how-can-we-get-alerted-about-non-deterministic-or-panic-error/10613 "2024-01-09T14:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theodore\_Felix\_Leo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/theodore_felix_leo/32/3978_2.png) [@Theodore\_Felix\_Leo](https://community.temporal.io/u/Theodore_Felix_Leo)\
**Post date:** [January 9, 2024, 2:24pm UTC](https://community.temporal.io/t/how-can-we-get-alerted-about-non-deterministic-or-panic-error/10613/1 "2024-01-09T14:24:59Z")

</div>

Hi we are currently looking for a way to get alerted when there is non deterministic or panic errors happening in our workflows. Is there, for example, any metrics emitted from the sdk on this error that we can then use e.g. with datadog monitors? I’m looking at this [Temporal SDK metrics reference | Temporal Documentation](https://docs.temporal.io/references/sdk-metrics) but there doesn’t seem to be any?

Thanks!

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [January 28, 2024, 12:03pm UTC](https://community.temporal.io/t/how-can-we-get-alerted-about-non-deterministic-or-panic-error/10613/2 "2024-01-28T12:03:24Z")

</div>

You could monitor workflow task failure (counter metric): [Temporal SDK metrics reference | Temporal Documentation](https://docs.temporal.io/references/sdk-metrics?_ga=2.101080261.515468905.1706406827-2090014278.1705678631#workflow_task_execution_failed)

There is feature request [here](https://github.com/temporalio/features/issues/231) that you can follow, it aims to add more details to this metrics that will be helpful.

---

<div class="post-metadata">

**Author:** ![bnpnt](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/bnpnt/32/3689_2.png) [@bnpnt](https://community.temporal.io/u/bnpnt)\
**Post date:** [January 28, 2024, 11:29pm UTC](https://community.temporal.io/t/how-can-we-get-alerted-about-non-deterministic-or-panic-error/10613/3 "2024-01-28T23:29:14Z")

</div>

may I also chime in and suggest that you set up replay testing pointing at your workflows in production? I found that the best way is to catch these errors early in CI, so you can plan around them before they hit production

[replay testing in Go](https://docs.temporal.io/dev-guide/go/testing#replay)  
[replay testing in TS](https://docs.temporal.io/dev-guide/typescript/testing#replay)
