Skip to content

Commit

Permalink
snet/metrics: use registry in SNET metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
shitz committed Oct 18, 2023
1 parent 46b055a commit 48eb0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/snet/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func NewSCIONPacketConnMetrics(opts ...Option) snet.SCIONPacketConnMetrics {
ParseErrors: metrics.NewPromCounter(auto.NewCounterVec(prometheus.CounterOpts{
Name: "lib_snet_parse_error_total",
Help: "Total number of parse errors"}, []string{})),
SCMPErrors: NewSCMPErrors(),
SCMPErrors: NewSCMPErrors(opts...),
}
}

Expand Down

0 comments on commit 48eb0a0

Please sign in to comment.