mirror of
https://github.com/hassio-addons/addon-prometheus.git
synced 2025-05-04 19:21:35 +00:00
👕 Prettier on JSON & YAML files
This commit is contained in:
parent
041bbfec53
commit
9e08d0c991
2 changed files with 7 additions and 9 deletions
|
@ -16,14 +16,12 @@
|
||||||
"homeassistant_api": true,
|
"homeassistant_api": true,
|
||||||
"hassio_role": "default",
|
"hassio_role": "default",
|
||||||
"map": ["share:rw"],
|
"map": ["share:rw"],
|
||||||
"options": {
|
"options": {},
|
||||||
},
|
|
||||||
"ports": {
|
"ports": {
|
||||||
"9090/tcp": null
|
"9090/tcp": null
|
||||||
},
|
},
|
||||||
"ports_description": {
|
"ports_description": {
|
||||||
"9090/tcp": "Not required for Ingress"
|
"9090/tcp": "Not required for Ingress"
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,20 +21,20 @@ rule_files:
|
||||||
# Here it's Prometheus itself.
|
# Here it's Prometheus itself.
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
# 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'
|
# metrics_path defaults to '/metrics'
|
||||||
# scheme defaults to 'http'.
|
# scheme defaults to 'http'.
|
||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:9090']
|
- targets: ["localhost:9090"]
|
||||||
- job_name: 'home-assistant'
|
- job_name: "home-assistant"
|
||||||
scrape_interval: 60s
|
scrape_interval: 60s
|
||||||
metrics_path: /core/api/prometheus
|
metrics_path: /core/api/prometheus
|
||||||
|
|
||||||
# Long-Lived Access Token
|
# Long-Lived Access Token
|
||||||
bearer_token_file: '/run/home-assistant.token'
|
bearer_token_file: "/run/home-assistant.token"
|
||||||
|
|
||||||
scheme: http
|
scheme: http
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['supervisor:80']
|
- targets: ["supervisor:80"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue