Documentation ¶
Index ¶
- type TelemetryHandler
- func (h *TelemetryHandler) GetBuffersInfo(ctx context.Context) (*vppcalls.BuffersInfo, error)
- func (h *TelemetryHandler) GetMemory(ctx context.Context) (*vppcalls.MemoryInfo, error)
- func (h *TelemetryHandler) GetNodeCounters(ctx context.Context) (*vppcalls.NodeCounterInfo, error)
- func (h *TelemetryHandler) GetRuntimeInfo(ctx context.Context) (*vppcalls.RuntimeInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelemetryHandler ¶
type TelemetryHandler struct { vpevppcalls.VpeVppAPI // contains filtered or unexported fields }
func NewTelemetryVppHandler ¶
func NewTelemetryVppHandler(ch govppapi.Channel, stats govppapi.StatsProvider) *TelemetryHandler
func (*TelemetryHandler) GetBuffersInfo ¶
func (h *TelemetryHandler) GetBuffersInfo(ctx context.Context) (*vppcalls.BuffersInfo, error)
GetBuffersInfo retrieves buffers info
func (*TelemetryHandler) GetMemory ¶
func (h *TelemetryHandler) GetMemory(ctx context.Context) (*vppcalls.MemoryInfo, error)
GetMemory retrieves `show memory` info.
func (*TelemetryHandler) GetNodeCounters ¶
func (h *TelemetryHandler) GetNodeCounters(ctx context.Context) (*vppcalls.NodeCounterInfo, error)
GetNodeCounters retrieves node counters info.
func (*TelemetryHandler) GetRuntimeInfo ¶
func (h *TelemetryHandler) GetRuntimeInfo(ctx context.Context) (*vppcalls.RuntimeInfo, error)
GetRuntimeInfo retrieves how runtime info.
Click to show internal directories.
Click to hide internal directories.