hassio-addons / addon-prometheus

Prometheus - Home Assistant Community Add-ons
https://addons.community
MIT License
20 stars 29 forks source link

Unable to add targets #45

Closed Davincible closed 2 years ago

Davincible commented 2 years ago

Created a alderson.yml file under the targets dir, but the target does not get picked up

---
job_name: 'alderson'
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
  - 192.168.88.48:9100

Any idea why it's not picking it up? The logs don't give any errors

Davincible commented 2 years ago

Fixed by renaming to *.yaml