Containerd cpu metricset
Warning
This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
This is the cpu metricset of the module containerd.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{
"@timestamp": "2019-03-01T08:05:34.853Z",
"container": {
"id": "7434687dbe3684407afa899582f2909203b9dc5537632b512f76798db5c0787d"
},
"containerd": {
"cpu": {
"usage": {
"cpu": {
"0": {
"ns": 99137817570
},
"1": {
"ns": 116475261138
},
"10": {
"ns": 106709905770
},
"11": {
"ns": 104878380370
},
"2": {
"ns": 105305653633
},
"3": {
"ns": 101195506344
},
"4": {
"ns": 105731762224
},
"5": {
"ns": 98155683224
},
"6": {
"ns": 95075348914
},
"7": {
"ns": 97134782770
},
"8": {
"ns": 104266711568
},
"9": {
"ns": 102272190459
}
},
"kernel": {
"ns": 532180000000,
"pct": 0
},
"percpu": {},
"total": {
"ns": 1236339003984,
"pct": 0
},
"user": {
"ns": 525470000000,
"pct": 0
}
}
},
"namespace": "k8s.io"
},
"event": {
"dataset": "containerd.cpu",
"duration": 115000,
"module": "containerd"
},
"metricset": {
"name": "cpu",
"period": 10000
},
"service": {
"address": "127.0.0.1:55555",
"type": "containerd"
}
}