Skip to content

Commit

Permalink
Explicitly enable metrics needed for Kepler dashboard
Browse files Browse the repository at this point in the history
- Disable estimated idle power metrics
- Enable container, vm and process metrics
  • Loading branch information
yadneshk committed Dec 10, 2024
1 parent c7cc7ed commit dbb9f37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions roles/edpm_telemetry_power_monitoring/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@
become: true
ansible.builtin.systemd:
name: edpm_kepler.service
enabled: true
state: restarted
state: started

- name: List deployed health check scripts
ansible.builtin.find:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"privileged": "true",
"restart": "always",
"ports": ["8888:8888"],
"command": "-v 2",
"recreate": true,
"command": "-v=2",
"net": "host",
"environment": {
"ENABLE_GPU": "true",
"EXPOSE_CONTAINER_METRICS": "true",
"ENABLE_PROCESS_METRICS": "true",
"EXPOSE_ESTIMATED_IDLE_POWER_METRICS": "true",
"EXPOSE_VM_METRICS": "true",
"EXPOSE_ESTIMATED_IDLE_POWER_METRICS": "false",
"LIBVIRT_METADATA_URI": "http://openstack.org/xmlns/libvirt/nova/1.1"
},
{% if edpm_telemetry_power_monitoring_healthcheck %}
Expand All @@ -21,7 +22,7 @@
"volumes": [
"/lib/modules:/lib/modules:ro",
"/run/libvirt:/run/libvirt:shared,ro",
"/sys/:/sys/",
"/sys/:/sys:ro",
"/proc:/proc"
]
}

0 comments on commit dbb9f37

Please sign in to comment.