[grafana] Update Dashboard for CPU Usage
[barometer.git] / docker / ansible / roles / config_files / vars / main.yml
1 # Copyright 2018-21 Anuket, Intel Corporation and others
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 ---
15 collectd_plugins: []
16 collectd_interval: "{{ interval_value }}"
17 collectd_hostname: "{{ inventory_hostname }}"
18
19 collectd_plugin_capabilities_port: "9564"
20
21 collectd_plugin_cpu_valuespercentage: False
22 collectd_plugin_cpu_reportbystate: True
23
24 collectd_plugin_csv_datadir: "{{ csv_log_dir }}"
25 collectd_plugin_csv_storerates: False
26
27 collectd_plugin_dpdk_telemetry_client_socket_path: "/var/run/.client"
28 collectd_plugin_dpdk_telemetry_dpdk_socket_path: "/var/run/dpdk/rte/telemetry"
29
30 collectd_plugin_exec_exec:
31   - user: "collectd_exec"
32     exec: "/src/barometer/src/collectd/collectd_sample_configs/ovs_pmd_stats.sh"
33 collectd_plugin_exec_notification:
34   - user: "collectd_exec"
35     notification_exec: "/src/barometer/src/collectd/collectd_sample_configs/write_notification.sh"
36
37 collectd_plugin_hugepages_report_per_node_hp: True
38 collectd_plugin_hugepages_report_root_hp: True
39 collectd_plugin_hugepages_values_pages: True
40 collectd_plugin_hugepages_values_bytes: False
41 collectd_plugin_hugepages_values_percentage: False
42
43 collectd_plugin_intel_pmu_report_hardware_cache_events: True
44 collectd_plugin_intel_pmu_report_kernel_pmu_events: True
45 collectd_plugin_intel_pmu_report_software_events: True
46 collectd_plugin_intel_pmu_cores: ["0-4"]
47
48 collectd_plugin_intel_rdt_cores: [""]
49 collectd_plugin_intel_rdt_interval: "{{ rdt_interval }}"
50
51 collectd_plugin_logfile_loglevel: "{{ logfile_log_level }}"
52 collectd_plugin_logfile_file: "{{ logfile_dir }}/collectd.log"
53 collectd_plugin_logfile_timestamp: True
54
55 collectd_plugin_ovs_events_dispatch_values: True
56 collectd_plugin_ovs_events_send_notification: True
57
58 collectd_plugin_virt_extra_stats: "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin"
59 collectd_plugin_virt_refresh_interval: 60
60
61 collectd_plugin_write_kafka_hosts:
62   - "{{ kafka_ip_addr }}:{{ kafka_port }}"
63 collectd_plugin_write_kafka_topics: '{{ { kafka_topic: { "format": "JSON" }} }}'
64
65 collectd_plugin_write_prometheus_port: "{{ prometheus_port }}"
66
67 collectd_plugin_syslog_loglevel: "{{ syslog_log_level }}"