Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #269 from nspcc-dev/248-fix-version-metric
Browse files Browse the repository at this point in the history
Add version metric fix
  • Loading branch information
roman-khimov authored Aug 31, 2023
2 parents 1fe3d6c + cc72be1 commit 507790b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func newStateMetrics() *stateMetrics {

func (m stateMetrics) register() {
prometheus.MustRegister(m.healthCheck)
prometheus.MustRegister(m.gwVersion)
}

func (m stateMetrics) unregister() {
Expand Down

0 comments on commit 507790b

Please sign in to comment.