Skip to content

Commit

Permalink
fix: initialize policy authorization counter
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
  • Loading branch information
dariofaccin committed Oct 8, 2024
1 parent ec82544 commit ab53509
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metrics/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ func (ps *PcfStats) register() error {
if err := prometheus.Register(ps.pcfSmPolicy); err != nil {
return err
}
if err := prometheus.Register(ps.pcfPolicyAuthorization); err != nil {
return err
}
return nil
}

Expand Down

0 comments on commit ab53509

Please sign in to comment.