In order to use the Backstage Sentry plugin with Roadie, you must securely provide Roadie with an API key which it can use to access the Sentry API.
Click the dropdown in the top left corner of the Sentry UI and click “Organization settings”.
Copy the value of the Organization Slug from the settings. The value shown here is
roadie. You will have a different value.
Go to the Administration Settings page and set the Sentry organization name.
Create an Internal Integration using the Sentry UI. Click “Settings” in the left sidebar, then “Developer Settings”. Next click the “New Internal Integration” button.
Give the integration a name like “Roadie”.
Give the integration the ability to read projects and issues.
Click the “Save Changes” button.
Copy the token that Sentry displays.
Click the pencil icon beside
SENTRY_TOKEN. Enter the token you copied from the Sentry UI into the input in the dialog that pops up.
Wait a few moments for the secret to be applied.
Using the Sentry UI, find a Sentry project which you would like to associate with a component in Roadie.
Click the gear icon beside your project name to view the project settings.
Copy the name from the Project settings
catalog-info.yaml for the component you wish to associate with this Sentry project and add the
apiVersion: backstage.io/v1alpha1 kind: Component metadata: name: sample-service description: Sample service annotations: sentry.io/project-slug: sample-service
Commit and push this change and Roadie should pick it up within a few minutes.