Get started
To instrument your application to capture errors, read the documentation on Observability SDKs. The functionality is available through plugins to the LaunchDarkly JavaScript .View errors
To view errors, click Observability > Explore in the left sidebar, then click the Errors tab. The Errors tab helps you find errors by querying the error attributes you choose. It provides a main chart to help you aggregate and visualize the errors returned by your query, and a table of the matching error groups. An error group collects the instances of one error. To learn how LaunchDarkly groups errors, read Group errors. By default, the tab shows error groups with an “Open” status.
The 'Errors' tab with an example query, chart, and table.
- Error body: The error message.
- Status: The status of the error group, either “Open,” “Ignored,” or “Resolved.” To learn how to change it, read Manage errors.
- Last occurrence and First occurrence: When the error most recently occurred, and when it first occurred.
- Affected users (30d): The number of users who encountered the error in the last 30 days.
- Instances (30d): The number of times the error occurred in the last 30 days.
- Trend (7d): A chart of how often the error occurred over the last seven days.
- Open: Open the error details page.
- Open in new tab: Open the error details page in a new browser tab.
- Copy link: Copy a link to the error details page.
- Ask Vega: Start a Vega chat with the error group attached. This option appears only if your account has access to Vega. To learn more, read Vega.
The Instances tab
Use this tab to get an overview of the error’s impact and see stack traces on per-instance occurrences. You can see details about a specific occurrence of an error, like what browser the user encountered it in, what URL they had loaded when it occurred, and more. This tab includes a “Stacktrace” section, which LaunchDarkly populates:- if your sourcemap is inline, meaning it’s shipped as part of your application, or
- if you have uploaded your sourcemap to LaunchDarkly. To learn how to upload your sourcemap, read Use
ldclifor uploading sourcemaps, or - if you have uploaded symbol files for a mobile application. To learn how to upload symbol files, read Use
ldclifor uploading symbols.

A detailed view of an error.
The Metrics tab
An error’s Metrics tab shows you details about how the error has occurred over time and across different . You can review the number of times an error has occurred in a given second, the environments and browsers the error has occurred in, and more.
A detailed view of an error.
Group errors
LaunchDarkly groups errors together based on their error message and stack trace. When your application throws an error, LaunchDarkly finds the closest matching error and adds the new error instance to it. An error matches if:- it has the same error message, or
- it has the same top stack frame and three of the next four stack frames are the same, in any order
- it has the same file name, function name, line number, and column number, or
- it has the same source code and context, if sourcemaps are enabled
Manage errors
As you review errors, you can change their status. To change the status of an error:- Click Observability > Explore in the left sidebar.
- Click the Errors tab.
- Click the error you want to update. The error details page appears. New errors start with an “Open” status.
- Click the status menu to change the status:
- Select a new status from the menu. You can change an error’s status to “Ignored” or “Resolved.”
- Select Snooze to snooze the error until the specified time.

The status menu for an error.
Search
To search the Errors tab, use the query builder. To learn more, read Search specification.Search attributes
By default, the observability SDK plugin automatically injects the following attributes to provide additional help with searching for :| Category | Attribute | Description | Example |
|---|---|---|---|
| Device and browser | browser | Browser the end user was using. | Chrome |
visited_url | URL where the error occurred. | https://app.example.com/1/errors | |
| Error identity | event | The title of the error. | Maximum call stack size exceeded |
client_id | ID associated with the error, added by LaunchDarkly. This can serve as a unique identifier if there is no context associated with the error. | DQbQCEHN0FLuwCeW50AeLI0cH6C4 | |
secure_session_id | ID that contains the error. | wh1jcuN5F9G6Ra5CKeCjdIk6Rbyd | |
trace_id | Trace ID that contains this error. | 7654ff38c4631d5a51b26f7e637eea3c | |
| Error properties | status | Status of the error group. | RESOLVED |
stack_trace | Specifies whether a stack trace is associated with the error. You can refine results with the following additional attributes: error, file_name, function_name, line_number. | true | |
tag | Tag applied to the error. | example error | |
type | General type of the error. | React.ErrorBoundary | |
feature_flag | Specifies whether the session is associated with a feature flag. You can refine results with the following additional attributes: context.id, contextKeys, key, provider.name, result.reason.inExperiment, result.reason.kind, result.value, and set.id. | true | |
| Service and application | environment | The environment key, based on the SDK credentials used in the observability SDKs. | production |
has_session | Whether the error is tied to a session. | true | |
service_name | Name of the service specified in the SDK plugin. To learn more, read Versioning sessions and errors. | private-graph | |
service_version | Version of the service specified in the observability SDK plugin. To learn more, read Versioning sessions and errors. | e1845285cb360410aee05c61dd0cc57f85afe6da |
Filter
You can filter out errors that you do not want to view in LaunchDarkly. This is useful for errors that you know are not relevant to your application, or that are not actionable. Filtered errors do not count against your errors quota.Ingestion filters
You can set up ingestion filters to manage the number of errors recorded in the following ways:- Filter errors by configuring rules to match particular error attributes. Each rule can be applied to a percentage of incoming errors. For example, you may configure a rule to ingest 1% of errors in the
developmentenvironment. For each error LaunchDarkly receives, it makes a randomized decision that results in storing only 1% of those matching errors. - Rate limit the maximum number of data points ingested in a one-minute window. For example, you may configure a rate limit of 100 errors per minute. This lets you limit the number of errors recorded in case of a significant spike in use of your application.