File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
dev/build/tasks/os_packages/docker_generator/resources/bin Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ kibana_vars=(
1818 console.enabled
1919 console.proxyConfig
2020 console.proxyFilter
21+ ops.cGroupOverrides.cpuPath
22+ ops.cGroupOverrides.cpuAcctPath
2123 cpu.cgroup.path.override
2224 cpuacct.cgroup.path.override
2325 csp.rules
@@ -279,4 +281,4 @@ umask 0002
279281# Therefore, we set this value here so that cgroup statistics are
280282# available for the container this process will run in.
281283
282- exec /usr/share/kibana/bin/kibana --cpu.cgroup.path.override =/ --cpuacct.cgroup.path.override =/ ${longopts} " $@ "
284+ exec /usr/share/kibana/bin/kibana --ops.cGroupOverrides.cpuPath =/ --ops.cGroupOverrides.cpuAcctPath =/ ${longopts} " $@ "
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ export class Metrics {
116116 async captureCGroups ( ) {
117117 try {
118118 const cgroup = await cGroupStats ( {
119- cpuPath : this . config . get ( 'cpu.cgroup.path.override ' ) ,
120- cpuAcctPath : this . config . get ( 'cpuacct.cgroup.path.override ' ) ,
119+ cpuPath : this . config . get ( 'ops.cGroupOverrides.cpuPath ' ) ,
120+ cpuAcctPath : this . config . get ( 'ops.cGroupOverrides.cpuAcctPath ' ) ,
121121 } ) ;
122122
123123 if ( isObject ( cgroup ) ) {
You can’t perform that action at this time.
0 commit comments