Traces

# Trace Error Origin

Updated Nov 22, 2026 · today

Walks the span graph to find the origin service of an error cascade: where the failure started, rather than the services that merely reported it.

## Example alert

auth-service is the origin of 142 error spans (verifyToken 118×); gateway/frontend 500s propagated from here

Exact wording varies, because the detector generates titles from the anomaly it finds. This is representative of what an alert looks like when it fires.

## How it works

Reads error spans and walks the parent/child span graph: an error span whose children aren't also erroring is an origin. So when auth, gateway and frontend all return 500, it fingers auth, not the frontend that surfaced it. Fires per origin service over an absolute error-span threshold, with no learning period.

## Availability

Runs on these tiers:

Detect (coming soon) Investigate (coming soon) Enterprise

Detect is coming soon, so this detector does not run in the live demo. The live demo shows Observe with synthetic data.

[Explore the live demo](https://app.epok.cloud/demo)

## Related detectors

- [Trace Latency Break](https://epok.cloud/docs/detectors/trace_latency_break)

  Catches a service whose request latency regressed against its own past, with the whole distribution shifted slower.
- [Trace Tail Shift](https://epok.cloud/docs/detectors/trace_tail_shift)

  Catches partial degradation: most requests are fine but a slice falls off a cliff. The tail blows up while the median holds.
- [Service Error Ratio](https://epok.cloud/docs/detectors/service_error_ratio)

  Watches the share of each service's own requests that fail, and tells you when that share rises well above its normal level.
- [Trace Throughput Drop](https://epok.cloud/docs/detectors/trace_throughput_drop)

  Catches a service whose request volume collapsed (crashed, deadlocked, or off the load balancer) when no slow or error spans give it away.
- [Trace New Operation](https://epok.cloud/docs/detectors/trace_new_operation)

  Flags a service serving an operation it never served before: an unannounced deploy, a new endpoint, or a client calling a new path.

[← All detectors](https://epok.cloud/docs/detectors)
