TrueWatch
Get Started
APM & Application Performance

Error Tracking: How Error Center Groups Repeated Errors Into Issues

Admin
·Dec 2, 20264 min read

Error tracking in TrueWatch works by grouping. Error Center takes the errors from your services, apps and logs and groups repeated failures into issues, so you work through one issue per bug instead of hundreds of near-identical rows. This post follows a demo service through three steps: the raw APM error rows, the setup Error Center needs, and the issue list that replaces those rows.

Why repeated errors are hard to read in APM

When one bug occurs many times, each occurrence appears as a separate row. In the demo, the APM Error Tracking view is filtered to one service and the POST /api/checkout endpoint, and it shows two hours of raw errors. The error message is the same in every row. The endpoint is the same in every row.

01-repeated-apm-error-rows.png

You have to read many rows that look alike before you know what is wrong, and they all come from one root cause. APM error tracking gives you every occurrence. Error Center groups those occurrences for you.

What Error Center needs before it can group errors

Error Center needs two things before it can group errors:

  1. Data that already comes into TrueWatch. In the demo, that means traces from APM. Errors from the RUM SDK and log indexes can feed Error Center too.
  2. An error delivery rule. The rule tells Error Center which services, apps or log indexes to watch.

Error Center only processes errors that have an error type and an error message, and it skips errors with missing fields.

In the demo, one APM rule covers the services. In Management, the rule form has a Rule Scope step. You choose a type (Log, APM or RUM), the services the rule covers, and optional filters that limit its coverage.

02-apm-error-delivery-rule-scope.png

The Create Error Delivery Rules page in the TrueWatch docs covers the options in full.

From hundreds of rows to three issues

Open Errors and filter to the same service. Error Center shows three issues, not hundreds of rows. The status cards at the top show the state of each issue: Triage, Assigned, Working, Resolved and Ignored, alongside an All count. At this point all three issues are in Triage, so no one has acted on them yet.

03-error-center-three-issues-list.png

Each issue card shows the status, the error title and message, the service, resource, version and environment, when the error was last triggered, and a count of related occurrences with a trend chart. Three issues are manageable. Hundreds of rows are not.

The three issues in the demo

IssueWhat it isResourceRelated occurrences (past 7 days)
makango.errors.CouponEngineErrorThe coupon engine returned an empty campaign list. This is the checkout bug from the APM view.POST /api/checkout453
makango.errors.LegacyEndpointRemovedErrorA retired endpoint that an old client still calls.GET /legacy/promo402
makango.errors.RiderAssignmentTimeoutA delivery timeout: no rider accepted the job within 30 seconds.A GET endpoint on the delivery estimate path71

04-issue-cards-status-counts.png

The checkout bug now sits in one issue with 453 occurrences, instead of 453 separate rows. Each bug has its own issue, and all three are in one list.

What happens after grouping

Grouping is the first step. From the issue list you can open an issue to see why its occurrences were grouped together, set a known error to Ignored, and mark a fixed error as Resolved. The full demo walkthrough on YouTube covers each of these. For the reference pages, start with the Error Center overview and Error List.

FAQ

What is error tracking in TrueWatch?

In TrueWatch, error tracking means Error Center takes the errors from your services, apps and logs and groups repeated failures into issues. Each bug gets its own issue, with a count of related occurrences.

What does Error Center need before it can group errors?

It needs data that already comes into TrueWatch, and an error delivery rule that tells Error Center which services, apps or log indexes to watch. Error Center only processes errors that have an error type and an error message.

How many issues does one repeated bug create?

One. In the demo, hundreds of occurrences become three issues, one for each bug: a coupon engine error on POST /api/checkout, a retired legacy endpoint, and a rider assignment timeout.

What statuses can an Error Center issue have?

Triage, Assigned, Working, Resolved and Ignored. In the demo, all three issues start in Triage.

By Admin
Featured posts

Get Started with TrueWatch