Skip to content

Sentry Integration

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

Installation

Installation Steps

  1. Make sure the services you track on Komodor use the SENTRY_DSN environment variable.
  2. Locate the Sentry installation tile on Komodor Integration Settings.
  3. Click Install.
  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 service on Komodor.

Please make sure your K8s deployment has the environment variable SENTRY_DSN.

Confirmation

  1. A Sentry Integration tile will be added to the top section of labeled Installed Integrations.
  2. When everything is ready you’re going to be able to see Sentry events in you service view: image5