Skip to content

Commit 01b03eb

Browse files
committed
crio: update config to enable metrics
Signed-off-by: Peter Hunt <[email protected]>
1 parent 125e9c3 commit 01b03eb

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
@@ -56,8 +56,8 @@ jobs:
5656
- name: Configure CRI-O
5757
run: |
5858
sudo mkdir -p /etc/crio/crio.conf.d
59-
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
60-
59+
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
60+
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
6161
- name: Configure CRI-O to use conmon-rs intead of the default conmon
6262
if: ${{matrix.monitor == 'conmon-rs'}}
6363
run: |

0 commit comments

Comments
 (0)