2022-08-22 23:56:02 +00:00
|
|
|
---
|
|
|
|
stats_enabled: false
|
|
|
|
stats_internet_speed_test_enabled: false
|
|
|
|
stats_prometheus_available_externally: false
|
|
|
|
stats_grafana_available_externally: false
|
|
|
|
|
|
|
|
# directories
|
|
|
|
stats_telegraf_config_directory: "{{ docker_home }}/stats/telegraf/config"
|
|
|
|
stats_prometheus_data_directory: "{{ docker_home }}/stats/prometheus/data"
|
|
|
|
stats_prometheus_config_directory: "{{ docker_home }}/stats/prometheus/config"
|
|
|
|
stats_grafana_data_directory: "{{ docker_home }}/stats/grafana/data"
|
|
|
|
stats_grafana_config_directory: "{{ docker_home }}/stats/grafana/config"
|
|
|
|
|
|
|
|
# network
|
|
|
|
stats_prometheus_port: "9090"
|
|
|
|
stats_telegraf_port: "9273"
|
|
|
|
stats_telegraf_influxdb_port: "8086"
|
|
|
|
stats_prometheus_smartctl_port: "9902"
|
|
|
|
stats_speedtest_exporter_port: "9798"
|
|
|
|
stats_prometheus_hostname: "prometheus"
|
|
|
|
stats_grafana_port: "3000"
|
|
|
|
stats_grafana_hostname: "grafana"
|
|
|
|
|
2023-03-10 21:00:37 +00:00
|
|
|
# docker:
|
|
|
|
stats_grafana_container_name: "stats-grafana"
|
|
|
|
stats_grafana_image_name: "grafana/grafana"
|
|
|
|
stats_grafana_image_version: "latest"
|
|
|
|
stats_prometheus_container_name: "stats-prometheus"
|
|
|
|
stats_prometheus_image_name: "prom/prometheus"
|
|
|
|
stats_prometheus_image_version: "latest"
|
|
|
|
stats_telegraf_container_name: "stats-telegraf"
|
|
|
|
stats_telegraf_image_name: "telegraf"
|
|
|
|
stats_telegraf_image_version: "latest"
|
|
|
|
stats_smartctl_container_name: "stats-smartctl"
|
|
|
|
stats_smartctl_docker_image_name: "matusnovak/prometheus-smartctl"
|
|
|
|
stats_smartctl_docker_image_version: "latest"
|
|
|
|
stats_speedtest_container_name: "stats-speedtest"
|
|
|
|
stats_speedtest_docker_image_name: "miguelndecarvalho/speedtest-exporter"
|
|
|
|
stats_speedtest_docker_image_version: "latest"
|
|
|
|
|
2022-08-22 23:56:02 +00:00
|
|
|
# specs
|
|
|
|
stats_telegraf_memory: 1g
|
|
|
|
stats_prometheus_memory: 1g
|
|
|
|
stats_prometheus_smartctl_memory: 1g
|
|
|
|
stats_speedtest_exporter_memory: 256m
|
|
|
|
stats_grafana_memory: 1g
|
|
|
|
|
|
|
|
# config
|
|
|
|
stats_prometheus_retention_time: 365d
|
|
|
|
stats_prometheus_retention_size: 30GB
|
|
|
|
stats_collection_interval: 15s
|
2023-04-02 22:24:51 +00:00
|
|
|
|
|
|
|
# uncomment to scrape more hosts
|
|
|
|
# stats_prometheus_additional_hosts:
|
|
|
|
# - 192.168.1.1:9100
|
2023-04-12 22:03:20 +00:00
|
|
|
|
|
|
|
# uncomment to scrape metrics from HomeAssistant. You'll need to create a long lived access token.
|
|
|
|
# stats_hass_long_lived_access_token: addfasdfasdf
|