stats

package
v1.13.3-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package stats provides chain elements for retrieving statistics from vpp interfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, options ...Option) networkservice.NetworkServiceClient

NewClient provides a NetworkServiceClient chain elements that retrieves vpp interface metrics.

func NewServer

func NewServer(ctx context.Context, options ...Option) networkservice.NetworkServiceServer

NewServer provides a NetworkServiceServer chain elements that retrieves vpp interface statistics.

Types

type Option

type Option func(o *statsOptions)

Option is an option pattern for stats server/client

func WithSocket

func WithSocket(socket string) Option

WithSocket sets stats socket name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL