TTalvedoGuideSign in
GuideIntegrations

Production errors into bugs

An error caught by an error tracker or by your own script becomes a bug of the project on its own: with the stack trace, environment, version and number of events. A repeat of the same error does not create new bugs; it adds to the counter of the same one. If an error comes back after the fix, the closed bug opens again.

Connect a source

  1. Open Project settings → Production errors and click Connect. The project lead and admins connect sources.
  2. Pick the source: Sentry, Datadog, Rollbar (below) or Your own connector - an address your script or service sends JSON to.
  3. Give it a name and rules (below) and click Connect.
  4. Copy the address. It is shown only once. Lost it? Click New address in the row of the source. The old address stops taking events at once.

Rules

  • Environments - which environments to take events from, comma-separated. production by default. An event without an environment is taken.
  • Bug after events - how many events have to come before a bug is created. 1 means a bug from the first event.
  • Reopen a closed bug - if the error comes in a version that did not exist before the bug was closed, the bug returns to the first "To do" status. A comment "The error came back in version 2.5.0" appears in the feed. Events of an old version, from people who have not updated yet, only add to the counter.
  • Type and priority - the project's bug type and a priority by the error level by default: fatal - urgent, error - high, warning - medium, info - low.
  • Assignee by file path - for example, src/billing/ - Anna. The first own frame of the stack trace counts, not one from a library. Nothing matched: the default assignee or nobody.
  • Label - goes on every bug from the source.

What the bug holds

The title of the bug is the title of the error. The description has the environment, version, location, a link to the source and the stack trace. The author is the source, for example "Production errors: Web Sentry".

Under the description, the Production error block shows fresh numbers: events and affected people, the last and the first event, the environment, every version the error was seen in, and how many times it came back. If the version of the first event matches a release of the project (2.4.1 and v2.4.1 are the same version), there is a link Came with release v2.4.1.

A repeat does not change the issue: no history entries, notifications or "updated". The numbers in the block are fresh when you open the card.

Sentry

Sentry sends errors through an internal integration of your organization. Connecting takes two steps: the integration secret appears in Sentry only after you put the address there.

  1. In Talvedo, connect a Sentry source and copy the address. Until the secret is added, the source is marked "needs the Client Secret" and events are rejected.
  2. In Sentry, open Settings → Developer Settings → Custom Integrations → Create New Integration → Internal Integration. Paste the address as the Webhook URL, give Issue & Event the Read & Write permission and turn on the issue webhooks. Save.
  3. Copy the Client Secret and the token of the integration into the Rules of the source in Talvedo (the Add the Client Secret button on the address card). For an organization in the EU, set the Sentry address to https://de.sentry.io; for your own Sentry server, its address.

What happens on its own after that:

  • a new issue in Sentry becomes a bug of the project, and the Sentry issue gets a link to it;
  • you close the bug, and the Sentry issue becomes resolved, in the release of the bug if Sentry knows it;
  • Sentry decides the error came back (regressed), and the closed bug opens again.

Issue webhooks do not carry the environment and version. For the bug to see the version, stack trace and environment of every event, create an alert rule in Sentry (Alerts → Create Alert → Issues) with the action "send a notification via" your integration and, if needed, an environment filter.

Without the token everything works except the link to the bug and resolved. If Sentry answered with an error, the source row shows "feedback to Sentry failed": hover it to see the answer. The same goes for Rollbar.

Rollbar

  1. In Talvedo, connect a Rollbar source and copy the address.
  2. In Rollbar, open the project, Settings → Notifications → Webhook, paste the address as the URL and turn on the rules New Item and Reactivated Item. Every Occurrence adds the count, version and environment of every event to the bug: turn it on if you need exact numbers.
  3. For closing the bug to resolve the item in Rollbar, create a token with the write scope in Settings → Project Access Tokens and paste it into the Rules of the source, the Project access token (write) field.

What happens on its own:

  • a new item in Rollbar becomes a bug of the project with the stack trace, environment and version (code_version);
  • you close the bug, and the Rollbar item becomes resolved, in the version of the bug's release if it has one;
  • Rollbar decides the error came back (Reactivated Item), and the closed bug opens again.

Rollbar does not sign webhooks: the address of the source is the key, do not publish it. Other notifications (resolved, deploy, frequency spikes) come into the log as "Skipped".

Datadog

Datadog sends monitor alerts through the Webhooks integration. Any monitor works: Error Tracking (a new error or its regression), logs or metrics.

  1. In Talvedo, connect a Datadog source and copy the address and the payload - the Copy payload button on the address card. You can copy the payload later too, from the Rules of the source.
  2. In Datadog, open Integrations → Webhooks → New, name the webhook, for example talvedo, paste the address as the URL and the payload as the Payload. Save.
  3. Mention the webhook in the message of a monitor: @webhook-talvedo. The message text becomes the stack trace of the bug, so for an Error Tracking monitor put the error variables there, for example {{issue.attributes.error.type}}: {{issue.attributes.error.message}} and {{issue.attributes.error.stack}}.

How Datadog becomes bugs:

  • an error is a monitor and its group: in an Error Tracking monitor every error is its own (issue.id), a monitor grouped by service gets a bug per service;
  • a trigger (Triggered, Warn) is an event; a recovery, "no data" and reminders (Re-Triggered) are "Skipped";
  • the environment and version come from the env and version tags;
  • the monitor fires again after the bug was closed, and the bug opens if the version is new or missing.

Datadog does not sign webhooks and gets no feedback: closing the bug does not touch the monitor.

Format of your own connector

Send a POST to the address of the source with Content-Type: application/json:

{
  "fingerprint": "[email protected]:42",
  "title": "TypeError: Cannot read properties of undefined",
  "level": "error",
  "environment": "production",
  "release": "2.4.1",
  "culprit": "src/cart.ts in applyCoupon",
  "stacktrace": "TypeError: ...\n    at applyCoupon (src/cart.ts:42:17)",
  "frames": [{ "file": "src/cart.ts", "line": 42, "function": "applyCoupon" }],
  "url": "https://errors.example.com/issues/1",
  "count": 1,
  "users": 3,
  "event_id": "a1b2c3"
}

Only fingerprint (the same for repeats of one error) and title are required. count is how many events since the previous send, users is how many people are affected in total. With event_id, a repeat of the same delivery is not counted twice.

The answer is {"result": "created", "issue": "WEB-142"}. result is created (a bug created), counted, reopened, skipped (an environment not in the list) or duplicate (a repeat delivery). Errors: 400 - the body did not fit, the reason is in the answer; 404 - no such address; 410 - the source is off; 429 - more than 600 events a minute.

Errors and the log

Click a source to open two tabs:

  • Errors - the last 50 errors: events, people, the bug and a "came back" mark.
  • Log - what came in over 14 days and how it ended: a bug created, counted, came back, skipped or rejected with a reason. Click a row to see what was sent.

Turn off and delete

Turn off - the address answers 410, rules and errors stay. Delete - the address stops working and the errors are removed; bugs stay issues, only without the Production error block.

Updated November 24, 2026