👕 Prettier on JSON & YAML files

This commit is contained in:
Franck Nijhof 2020-07-26 20:29:54 +02:00
parent 041bbfec53
commit 9e08d0c991
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
2 changed files with 7 additions and 9 deletions

View file

@ -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": {}
}

View file

@ -21,20 +21,20 @@ rule_files:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` 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"]