diff --git a/prometheus/DOCS.md b/prometheus/DOCS.md index b229cf2..ae792b6 100644 --- a/prometheus/DOCS.md +++ b/prometheus/DOCS.md @@ -37,12 +37,23 @@ static_configs: **Note**: _This is just an example, don't copy and paste it! Create your own!_ The job names `home-assistant` and `prometheus` are already defined by default. +For the `homeassistant` target you must add add the following to the Home Assistant configuration: + +```yaml +prometheus: +``` Rules can be created under `/share/prometheus/rules/` The addon will reload the configuration if a valid configuration is available. If not it will log errors in the addon log +## Grafana + +Grafana can use prometheus as a datasource, to configure this go to grafana and add a datasource. +The hostname to connect to is depending on the release you installed. +For stable this is 'http://a0d7b954-prometheus:9090' + ## Known issues and limitations - Job name must be unique, but this has to be enforced by the user.