diff --git a/prometheus/config.json b/prometheus/config.json index 7d36c3a..230b989 100755 --- a/prometheus/config.json +++ b/prometheus/config.json @@ -16,14 +16,12 @@ "homeassistant_api": true, "hassio_role": "default", "map": ["share:rw"], - "options": { - }, + "options": {}, "ports": { "9090/tcp": null }, "ports_description": { "9090/tcp": "Not required for Ingress" }, - "schema": { - } + "schema": {} } diff --git a/prometheus/rootfs/etc/prometheus/prometheus.yml b/prometheus/rootfs/etc/prometheus/prometheus.yml index 8b6d1d1..9d8e327 100644 --- a/prometheus/rootfs/etc/prometheus/prometheus.yml +++ b/prometheus/rootfs/etc/prometheus/prometheus.yml @@ -21,20 +21,20 @@ rule_files: # Here it's Prometheus itself. scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. - - job_name: 'prometheus' + - job_name: "prometheus" # metrics_path defaults to '/metrics' # scheme defaults to 'http'. static_configs: - - targets: ['localhost:9090'] - - job_name: 'home-assistant' + - targets: ["localhost:9090"] + - job_name: "home-assistant" scrape_interval: 60s metrics_path: /core/api/prometheus # Long-Lived Access Token - bearer_token_file: '/run/home-assistant.token' + bearer_token_file: "/run/home-assistant.token" scheme: http static_configs: - - targets: ['supervisor:80'] + - targets: ["supervisor:80"]