Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller int
const ( ControllerUndefined Controller = iota // undefined ControllerPids // pids ControllerCPU // cpu ControllerMemory // memory ControllerRdma // rdma ControllerIo // io )
func ParseController ¶
func ParseController(in string) (Controller, error)
func (Controller) String ¶
func (i Controller) String() string
type Option ¶
type Option func(*config)
Option supports configuring optional settings for runtime metrics.
func WithControllers ¶
func WithControllers(ctrls ...Controller) Option
func WithPrefic ¶
func WithProvider ¶
func WithProvider(provider metric.MeterProvider) Option
Click to show internal directories.
Click to hide internal directories.