Skip to content

Commit d711165

Browse files
jiceathomejuagargi
authored andcommitted
router: fix interface label of router metrics (scionproto#4430)
The interface label value of every metric instance had been lost to a refactoring in scionproto#4422.
1 parent 98573cf commit d711165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func newInterfaceMetrics(
283283
localIA addr.IA,
284284
neighbors map[uint16]addr.IA) interfaceMetrics {
285285

286-
ifLabels := interfaceLabels(0, localIA, neighbors)
286+
ifLabels := interfaceLabels(id, localIA, neighbors)
287287
m := interfaceMetrics{}
288288
for sc := minSizeClass; sc < maxSizeClass; sc++ {
289289
scLabels := prometheus.Labels{"sizeclass": sc.String()}

0 commit comments

Comments
 (0)