Metrics returns task metrics for runtime specific metrics The metric types are generic to containerd and change depending on the runtime For the built in Linux runtime, github.com/containerd/cgroups.Metrics are returned in protobuf format
(context.Context)
| 216 | // For the built in Linux runtime, github.com/containerd/cgroups.Metrics |
| 217 | // are returned in protobuf format |
| 218 | Metrics(context.Context) (*types.Metric, error) |
| 219 | // Spec returns the current OCI specification for the task |
| 220 | Spec(context.Context) (*oci.Spec, error) |
| 221 | } |
no outgoing calls