Add documentation for Sentry (#11625)

* Add documentation for Sentry

See also home-assistant/home-assistant#30422

* Fix YAML formatting

* Add ha_category, ha_iot_class

* Update category, add ha_release

* Remove optional params

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
David Cramer 2020-01-03 14:51:06 -08:00 committed by Franck Nijhof
parent e7544c8c7c
commit 4917634367
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
---
title: "Sentry"
description: "Record errors to Sentry."
logo: sentry.png
ha_category:
- System Monitor
ha_iot_class: Cloud Polling
ha_release: 0.104
---
The `sentry` integration integrates with [Sentry](https://sentry.io/) 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:
```yaml
# Example configuration.yaml entry
sentry:
dsn: SENTRY_DSN
```
{% 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 %}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB