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 ¶
Types ¶
type Option ¶
type Option func(*option)
func WithRegistry ¶
func WithRegistry(registry prometheus.Registerer) Option
WithRegistry specifies the registerer used to create the metrics.
Click to show internal directories.
Click to hide internal directories.