2020-05-19 09:54:18 +02:00

1.5 KiB

title, description, ha_category, ha_iot_class, ha_release, ha_config_flow, ha_codeowners, ha_domain
title description ha_category ha_iot_class ha_release ha_config_flow ha_codeowners ha_domain
Sentry Record errors to Sentry.
System Monitor
Cloud Polling 0.104 true
@dcramer
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

Then navigate to Configuration -> Integrations and add the DSN provided to you by Sentry where prompted.

{% configuration %} dsn: description: The DSN provided to you by Sentry. required: true type: string environment: description: An environment name to associate with events. required: false type: string {% endconfiguration %}

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://sdasdasdasdsadsadas@sentry.io/sdsdfsdf