Skip to content

Sentry Integration

The Sentry integration allows you to see sentry issues in Komodor. For each service, Komodor automatically maps the relevant Sentry project to Komodor services and allows you to gain a full-service timeline: both relevant changes (deploys, config changes etc’) and issues from Sentry will all be in one place.

Installation

Installation Steps

  1. Make sure the services you track in Komodor use the SENTRY_DSN environment variable.
  2. Locate the Sentry installation tile on the Komodor Integrations page.
  3. Click Install Integration.
  4. A dialog will open with a webhook URL and a link to Sentry to define an internal integration.
  5. Go to your Sentry account and click on settings in the left menu. Click on Developer Settings in the settings menu: image6
  6. Click on + New Internal Integration image3
  7. Name this integration Komodor.
  8. Paste the webhook URL in the webhook field: image2
  9. To operate properly Komodor needs these permissions:
  10. Project - Read
  11. Issue & Event - Read image1
  12. Check the issue webhook checkbox image7
  13. Save changes
  14. As soon as you save you will see your “client secret”. Copy the value: image4
  15. Go back to your Komodor integrations page and paste the value of your client secret to the client secret text box.
  16. Click Install

In your deployment.yaml

We use the value of the environment variable SENTRY_DSN to match Sentry Issue events with your services in Komodor.

Make sure your kubernetes deployment has the environment variable SENTRY_DSN.

Confirmation

  1. A Sentry Integration tile will be added to the top section under Installed Integrations.
  2. Once completed you will be able to see Sentry events in you services view: image5