Skip to content

Commit

Permalink
register metrics
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
  • Loading branch information
d80tb7 committed Aug 9, 2024
1 parent d00d084 commit 1fe31de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/scheduler/schedulerapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ func Run(config schedulerconfig.Configuration) error {
if err != nil {
return err
}
if err := prometheus.Register(schedulerMetrics); err != nil {
return errors.WithStack(err)
}

scheduler, err := NewScheduler(
jobDb,
Expand Down

0 comments on commit 1fe31de

Please sign in to comment.