public class CGroupCpuGuaranteeByCfsQuota extends CGroupMetricsBase implements WorkerMetricRegistrant
Report the percentage of the cpu guaranteed for the worker. It gets the result from cpu.cfs_period_us and cpu.cfs_quota_us. Use this when org.apache.storm.container.docker.DockerManager or org.apache.storm.container.oci.RuncLibContainerManager is used as the storm.resource.isolation.plugin.
core, enabled| Constructor and Description |
|---|
CGroupCpuGuaranteeByCfsQuota(Map<String,Object> conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerMetrics(TopologyContext topologyContext) |
public void registerMetrics(TopologyContext topologyContext)
registerMetrics in interface WorkerMetricRegistrantCopyright © 2021 The Apache Software Foundation. All rights reserved.