Skip to content

Commit f528b5a

Browse files
committed
crio: update config to enable metrics
Signed-off-by: Peter Hunt <pehunt@redhat.com>
1 parent e878f60 commit f528b5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/crio.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
- name: Configure CRI-O
6161
run: |
6262
sudo mkdir -p /etc/crio/crio.conf.d
63-
printf '[crio.runtime]\nlog_level = "debug"\n[crio.image]\nshort_name_mode = "disabled"\n' | sudo tee /etc/crio/crio.conf.d/01-log-level.conf
64-
63+
printf '[crio.runtime]\nlog_level = "debug"\n[crio.image]\nshort_name_mode = "disabled"\n' | sudo tee -a /etc/crio/crio.conf.d/01-base.conf
64+
printf '[crio.stats]\nincluded_pod_metrics = [\n"disk",\n"diskIO",\n"network",\n"cpu",\n"hugetlb",\n"memory",\n"oom",\n"process",\n"spec",\n]\n' | sudo tee -a /etc/crio/crio.conf.d/01-base.conf
6565
- name: Configure CRI-O to use conmon-rs intead of the default conmon
6666
if: ${{matrix.monitor == 'conmon-rs'}}
6767
run: |

0 commit comments

Comments
 (0)