File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
cloud-controller-manager/do Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ * Fix broken firewall counter metrics by incrementing (@timoreimann )
4+
35## v0.1.30 (beta) - October 31th 2020
46
57* Support LB custom size slug (@anitgandhi )
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ func (fm *firewallManager) executeInstrumentedFirewallOperation(ctx context.Cont
379379 }))
380380 defer func () {
381381 timer .ObserveDuration ()
382- fm .metrics .apiOperationsTotal .With (promLabels )
382+ fm .metrics .apiOperationsTotal .With (promLabels ). Inc ()
383383 }()
384384
385385 fw , resp , err := f (ctx )
@@ -439,7 +439,7 @@ func (fc *FirewallController) ensureReconciledFirewallInstrumented(ctx context.C
439439 }))
440440 defer func () {
441441 t .ObserveDuration ()
442- fc .fwManager .metrics .reconcilesTotal .With (labels )
442+ fc .fwManager .metrics .reconcilesTotal .With (labels ). Inc ()
443443 }()
444444
445445 skipped , err := fc .ensureReconciledFirewall (ctx )
@@ -466,7 +466,7 @@ func (fc *FirewallController) syncResource(ctx context.Context) error {
466466 }))
467467 defer func () {
468468 t .ObserveDuration ()
469- fc .fwManager .metrics .resourceSyncsTotal .With (labels )
469+ fc .fwManager .metrics .resourceSyncsTotal .With (labels ). Inc ()
470470 }()
471471
472472 // Ignore Get() result since we only care about the cache getting updated.
You can’t perform that action at this time.
0 commit comments