Merge "Maintain Platform App - app-power-metrics"
This commit is contained in:
@@ -151,71 +151,69 @@ Example of overriding the powerstat plugin:
|
||||
.. code-block:: none
|
||||
|
||||
[sysadmin@controller-0 ~(keystone_admin)]$ cat telegraf-powerstat.yaml
|
||||
config:
|
||||
inputs:
|
||||
# Default plugins to collect power-metrics data
|
||||
- intel_powerstat:
|
||||
cpu_metrics:
|
||||
- "cpu_frequency"
|
||||
- "cpu_busy_frequency"
|
||||
- "cpu_temperature"
|
||||
- "cpu_c0_state_residency"
|
||||
- "cpu_c1_state_residency"
|
||||
- "cpu_c6_state_residency"
|
||||
- "cpu_busy_cycles"
|
||||
package_metrics:
|
||||
- "current_power_consumption"
|
||||
- "current_dram_power_consumption"
|
||||
- "thermal_design_power"
|
||||
- "cpu_base_frequency"
|
||||
- "uncore_frequency"
|
||||
- intel_pmu:
|
||||
event_definitions:
|
||||
- "/etc/telegraf/events_definition.json"
|
||||
core_events:
|
||||
- events:
|
||||
- INST_RETIRED.ANY
|
||||
- linux_cpu:
|
||||
metrics: ["cpufreq"]
|
||||
config:
|
||||
inputs:
|
||||
# Default plugins to collect power-metrics data
|
||||
- intel_powerstat:
|
||||
cpu_metrics:
|
||||
- "cpu_frequency"
|
||||
- "cpu_busy_frequency"
|
||||
- "cpu_temperature"
|
||||
- "cpu_c0_state_residency"
|
||||
- "cpu_c1_state_residency"
|
||||
- "cpu_c6_state_residency"
|
||||
package_metrics:
|
||||
- "current_power_consumption"
|
||||
- "current_dram_power_consumption"
|
||||
- "thermal_design_power"
|
||||
- "cpu_base_frequency"
|
||||
- "uncore_frequency"
|
||||
- intel_pmu:
|
||||
event_definitions:
|
||||
- "/etc/telegraf/events_definition.json"
|
||||
core_events:
|
||||
- events:
|
||||
- INST_RETIRED.ANY
|
||||
- linux_cpu:
|
||||
metrics: ["cpufreq"]
|
||||
|
||||
#. Apply the override.
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
[sysadmin@controller-0 ~(keystone_admin)]$ system helm-override-update power-metrics telegraf power-metrics --values telegraf-powerstat.yaml
|
||||
[sysadmin@controller-0 ~(keystone_admin)]$ system helm-override-update power-metrics telegraf power-metrics --values telegraf-powerstat.yaml
|
||||
|
||||
+----------------+------------------------------------------------+
|
||||
| Property | Value |
|
||||
+----------------+------------------------------------------------+
|
||||
| name | telegraf |
|
||||
| namespace | power-metrics |
|
||||
| user_overrides | config: |
|
||||
| | inputs: |
|
||||
| | - intel_powerstat: |
|
||||
| | cpu_metrics: |
|
||||
| | - cpu_frequency |
|
||||
| | - cpu_busy_frequency |
|
||||
| | - cpu_temperature |
|
||||
| | - cpu_c0_state_residency |
|
||||
| | - cpu_c1_state_residency |
|
||||
| | - cpu_c6_state_residency |
|
||||
| | - cpu_busy_cycles |
|
||||
| | package_metrics: |
|
||||
| | - current_power_consumption |
|
||||
| | - current_dram_power_consumption |
|
||||
| | - thermal_design_power |
|
||||
| | - cpu_base_frequency |
|
||||
| | - uncore_frequency |
|
||||
| | - intel_pmu: |
|
||||
| | event_definitions: |
|
||||
| | - "/etc/telegraf/events_definition.json" |
|
||||
| | core_events: |
|
||||
| | - events: |
|
||||
| | - INST_RETIRED.ANY |
|
||||
| | - linux_cpu: |
|
||||
| | metrics: ["cpufreq"] |
|
||||
| | |
|
||||
+----------------+------------------------------------------------+
|
||||
+----------------+------------------------------------------------+
|
||||
| Property | Value |
|
||||
+----------------+------------------------------------------------+
|
||||
| name | telegraf |
|
||||
| namespace | power-metrics |
|
||||
| user_overrides | config: |
|
||||
| | inputs: |
|
||||
| | - intel_powerstat: |
|
||||
| | cpu_metrics: |
|
||||
| | - cpu_frequency |
|
||||
| | - cpu_busy_frequency |
|
||||
| | - cpu_temperature |
|
||||
| | - cpu_c0_state_residency |
|
||||
| | - cpu_c1_state_residency |
|
||||
| | - cpu_c6_state_residency |
|
||||
| | package_metrics: |
|
||||
| | - current_power_consumption |
|
||||
| | - current_dram_power_consumption |
|
||||
| | - thermal_design_power |
|
||||
| | - cpu_base_frequency |
|
||||
| | - uncore_frequency |
|
||||
| | - intel_pmu: |
|
||||
| | event_definitions: |
|
||||
| | - "/etc/telegraf/events_definition.json" |
|
||||
| | core_events: |
|
||||
| | - events: |
|
||||
| | - INST_RETIRED.ANY |
|
||||
| | - linux_cpu: |
|
||||
| | metrics: ["cpufreq"] |
|
||||
| | |
|
||||
+----------------+------------------------------------------------+
|
||||
|
||||
#. Re-apply the application.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user