mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 09:17:35 +00:00
43 lines
998 B
Markdown
43 lines
998 B
Markdown
---
|
|
title: Graphite
|
|
description: Instructions on how to record Home Assistant history in Graphite.
|
|
ha_category:
|
|
- History
|
|
ha_release: 0.13
|
|
ha_domain: graphite
|
|
ha_iot_class: Local Push
|
|
ha_integration_type: integration
|
|
---
|
|
|
|
The `graphite` integration records all events and state changes and feeds the data to a [graphite](http://graphiteapp.org/) instance.
|
|
|
|
To enable this component, add the following lines to your `configuration.yaml`:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
graphite:
|
|
```
|
|
|
|
{% configuration %}
|
|
host:
|
|
description: IP address of your graphite host, e.g., 192.168.1.10.
|
|
required: false
|
|
type: string
|
|
default: localhost
|
|
port:
|
|
description: Port on graphite host.
|
|
required: false
|
|
type: integer
|
|
default: 2003
|
|
protocol:
|
|
description: "Type of communication protocol: `tcp` or `udp`."
|
|
required: false
|
|
type: string
|
|
default: tcp
|
|
prefix:
|
|
description: Prefix is the metric prefix in graphite.
|
|
required: false
|
|
type: string
|
|
default: ha
|
|
{% endconfiguration %}
|