metrics

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Overview

Package metrics defines default initializers for the metrics structs that are used in the snet package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSCIONNetworkMetrics

func NewSCIONNetworkMetrics(opts ...Option) snet.SCIONNetworkMetrics

func NewSCIONPacketConnMetrics

func NewSCIONPacketConnMetrics(opts ...Option) snet.SCIONPacketConnMetrics

func NewSCMPErrors

func NewSCMPErrors(opts ...Option) metrics.Counter

Types

type Option

type Option func(*option)

func WithRegistry

func WithRegistry(registry prometheus.Registerer) Option

WithRegistry specifies the registerer used to create the metrics.

Jump to

Keyboard shortcuts

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