metrics

package
v1.12.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package metrics provides chain elements for retrieving metrics from vpp

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

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

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

func NewServer

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

NewServer provides NetworkServiceServer chain elements that retrieve vpp interface statistics and names.

Types

type Option

type Option func(o *metricsOptions)

Option is an option pattern for metrics server/client

func WithSocket

func WithSocket(socket string) Option

WithSocket sets stats socket name

Directories

Path Synopsis
Package ifacename provides chain elements for retrieving names from vpp interfaces
Package ifacename provides chain elements for retrieving names from vpp interfaces
Package stats provides chain elements for retrieving statistics from vpp interfaces
Package stats provides chain elements for retrieving statistics from vpp interfaces

Jump to

Keyboard shortcuts

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