Sentry


The free Sentry account allows 5000 events per month. Depending on the amount of events sent to Sentry you will either have to upgrade your Sentry account or have a period without data flowing from Home Assistant to Sentry.

The sentry integration integrates with Sentry to capture both logged errors as well as unhandled exceptions in Home Assistant.

Configuration

To use the sentry integration in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sentry:
  dsn: SENTRY_DSN

Configuration Variables

dsn

(string)(Required)

The DSN provided to you by Sentry.

environment

(string)(Optional)

An environment name to associate with events.

Getting the DSN

Follow these steps to get the DSN:

  • Go to Projects.
  • Click Create project.
  • Fill out Give your project a name and choose Assign a Team fields and click Create project button.
  • Click Get your DSN link in top of the page.
  • Your DSN is now visible and looks like https://[email protected]/sdsdfsdf