add string returns for metrics and properties

This commit is contained in:
2026-03-16 09:17:44 -07:00
parent adb1387693
commit 61421305ed
16 changed files with 524 additions and 390 deletions

View File

@ -2,6 +2,7 @@
# required system packages
cosmostat_packages:
- docker
- docker.io
- docker-compose
- python3
@ -27,6 +28,8 @@ cosmostat_venv_packages: |
cosmostat_sudoers_content: |
cosmos ALL=(root) NOPASSWD: /usr/bin/lshw
cosmos ALL=(root) NOPASSWD: /usr/sbin/smartctl
cosmos ALL=(root) NOPASSWD: /usr/bin/dmesg
cosmos ALL=(root) NOPASSWD: /usr/sbin/dmidecode
# subnet for service
docker_subnet: "192.168.37.0/24"
@ -47,16 +50,17 @@ api_service_exe: "{{ venv_folder }}/bin/python -u {{ api_service_folder }}/app.p
# dashboard vars
service_control_web_folder: "{{ service_folder }}/web"
public_dashboard: true
# will skip init when true
quick_refresh: false
# cosmostat_settings
noisy_test: false
debug_output: false
debug_output: true
secure_api: true
push_redis: true
run_background : true
log_output: true
update_frequency: "2"
update_frequency: "1"
...