Skip to content

Latest commit

 

History

History

grafana_cloud

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Home Assistant Add-on: Grafana Cloud

Supports aarch64 Architecture Supports amd64 Architecture

Easily export Home Assistant stats to Grafana Cloud.

About

This addon makes it easy to export Home Assistant metrics and logs to Grafana Cloud

It will gather stats from your Home Assistant install using Grafana Alloy and export them to Grafana Cloud where you can build beautiful custom dashboards.

Setup

This addon requires the Prometheus integration be enabled so that Home Assistant will expose stats.

To start a minimal configuration, just add the following line to your configuration.yaml file and restart Home Assistant.

prometheus:

If you would like to define the specific stats you would like to expose, you can follow the instructions in the Prometheus integration docs.

To configure the Grafana Cloud addon, first create a Grafana Cloud account and set up your stack.

Copy the stack name, and paste it into the stack name field in the addon configuration.

Next you need to create a new Access Policy:

  • Display Name: Home Assistant
  • Name: home-assistant
  • Realms:
  • Scopes:
    • Metrics: write
    • Logs: write
    • Stacks: read

Create Access Policy

Finally, add a token to the policy.

Copy the token, and paste it into the token field in the addon configuration.

Create Access Token

After saving the configuration, start the addon and it will begin exporting logs and metrics to Grafana Cloud.