Cortex connects to many third-party vendors whose system interfaces frequently change. As a result, integration behavior or configuration steps may shift without notice. If you encounter unexpected issues, check with your system administrator or refer to the vendor’s documentation for the most current information. Additionally, integration sync times vary and are subject to scheduling overrides and timing variance.
- View errors on entity pages in Cortex, giving you insight into your entity’s operational maturity
- Create Scorecards that include rules related to BugSnag errors
How to configure BugSnag with Cortex
Prerequisites
Before getting started:- Create a BugSnag auth token in your BugSnag account’s settings page under “My account.”
- You must have the
Configure integrationspermission in Cortex.
Configure the integration in Cortex
- In Cortex, navigate to the BugSnag settings page.
- Click Integrations from the main nav. Search for and select BugSnag.
- Click Add configuration.
- Configure the integration form:
- Auth token: Enter the auth token you generated in BugSnag.
- Organization slug: Enter your BugSnag organization slug.
- You can find this in your BugSnag URL, e.g.,
https://app.bugsnag.com/organizations/{SLUG}/stability-center.
- You can find this in your BugSnag URL, e.g.,
- Host: If using a custom BugSnag instance, enter the URL here without the API path (e.g.,
bugsnag.getcortexapp.com).
- Click Save.
How to connect Cortex entities to BugSnag projects
Discovery
By default, Cortex will use the Cortex tag (e.g.my-entity) as the “best guess” for BugSnag projects. For example, if your Cortex tag is my-entity, then the corresponding project in BugSnag should also be my-entity.
If your BugSnag projects don’t cleanly match the Cortex tag, you can override this in the Cortex entity descriptor.
Editing the entity descriptor
The YAML examples on this page show only the
x-cortex-* block. When you add one to an entity descriptor, nest it inside the info section. Blocks at the root level of the file are ignored without an error. For a full example, see Defining entities with YAML.x-cortex-bugsnag block:
Using the BugSnag integration
Viewing BugSnag errors on an entity
Error data will appear on an entity’s details page. You can find the total number of detected errors and a full list on the Error tracking page in the entity’s side panel. Error data is fetched live. Each error in the list will display with anError, Info, or Warning tag based on the severity applied to a given error in BugSnag.
Scorecards and CQL
With the BugSnag integration, you can create Scorecard rules and write CQL queries based on BugSnag projects and issues. See more examples in the CQL Explorer in Cortex.Check if BugSnag is set
Check if BugSnag is set
Check if an entity has a registered BugSnag project.Definition: This is also a good way to double-check that the integration is synced and reporting frequently.
bugsnag (==/!=) nullExampleThis expression can be used to write a Scorecard rule to make sure each entity has a registered BugSnag project:Number of issues
Number of issues
Count all unresolved issues in BugSnag or counts number of issues for a given query. By default, will count all unresolved issues.Definition: To set a more specific standard, you can also create a rule based on a filter.
bugsnag.numOfIssues(query: Text | Null)ExampleFor a Scorecard focused on operational maturity, you can pull in error data from BugSnag to make sure your entities have no or few errors.View integration logs
This feature is available in Cortex cloud.

Still need help?
The following options are available to get assistance from the Cortex Customer Engineering team:- Email: help@cortex.io, or open a support ticket in the in app Resource Center
- Slack: Users with a connected Slack channel will have a workflow added to their account. From here, you can either @CortexTechnicalSupport or add a
:ticket:reaction to a question in Slack, and the team will respond directly.