stats

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package stats provides chain elements for retrieving statistics from vpp

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 metrics.

Types

type Option added in v1.3.0

type Option func(o *statsOptions)

Option is an option pattern for stats server/client

func WithSocket added in v1.3.0

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