Add enable_prometheus switch

This commit is contained in:
2023-12-29 09:29:29 -05:00
parent 5089aec178
commit f6878c69ad
3 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@ pvc_fence_successful_action: migrate # What to do with VMs when a fence is su
pvc_fence_failed_action: None # What to do with VMs when a fence is failed (migrate, None) - migrate is DANGEROUS without pvc_suicide_intervals set to < pvc_fence_intervals
pvc_migrate_target_selector: mem # The selector to use for migrating VMs
# Enable Prometheus exporters
# Enable Prometheus exporters and corresponding API endpoints
enable_prometheus_exporters: yes
# Memory tuning

View File

@ -15,6 +15,7 @@ subsystem:
enable_storage: yes
enable_worker: yes
enable_api: yes
enable_prometheus: {{ 'yes' if enable_prometheus_exporters else 'no' }}
cluster:
name: {{ cluster_group }}