Skip to content

Commit c528f24

Browse files
committed
update missing usages
1 parent abd38c6 commit c528f24

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/dev/build/tasks/os_packages/docker_generator/resources/bin/kibana-docker

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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} "$@"

src/legacy/server/status/lib/metrics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)) {

0 commit comments

Comments
 (0)