Skip to content

Commit

Permalink
fix typo with snmp exporter fix (#903)
Browse files Browse the repository at this point in the history
Signed-off-by: erikbaranowski <39704712+erikbaranowski@users.noreply.github.com>
  • Loading branch information
erikbaranowski authored May 21, 2024
1 parent 33c8428 commit e3ef9d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func NewSNMPMetrics(reg prometheus.Registerer) collector.Metrics {
Help: "Number of SNMP packet retries.",
},
),
SNMPInflight: promauto.NewGauge(
SNMPInflight: promauto.With(reg).NewGauge(
prometheus.GaugeOpts{
Namespace: namespace,
Name: "request_in_flight",
Expand Down

0 comments on commit e3ef9d3

Please sign in to comment.