Skip to content

Commit

Permalink
fix spot price metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
d80tb7 committed Dec 2, 2024
1 parent d5612f5 commit c4ecf6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/scheduler/metrics/cycle_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ func (m *cycleMetrics) describe(ch chan<- *prometheus.Desc) {
m.loopNumber.Describe(ch)
m.evictedJobs.Describe(ch)
m.evictedResources.Describe(ch)
m.spotPrice.Describe(ch)
}

m.reconciliationCycleTime.Describe(ch)
Expand All @@ -365,6 +366,7 @@ func (m *cycleMetrics) collect(ch chan<- prometheus.Metric) {
m.loopNumber.Collect(ch)
m.evictedJobs.Collect(ch)
m.evictedResources.Collect(ch)
m.spotPrice.Collect(ch)
}

m.reconciliationCycleTime.Collect(ch)
Expand Down

0 comments on commit c4ecf6d

Please sign in to comment.