Skip to content

Commit

Permalink
Switch to counter for awscni_no_available_ip_addresses (#2919)
Browse files Browse the repository at this point in the history
Co-authored-by: Liptan Biswas <lbiswas@slack-corp.com>
Co-authored-by: Senthil Kumaran <senthilx@amazon.com>
  • Loading branch information
3 people committed May 25, 2024
1 parent 5fb5020 commit d0590be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/prometheusmetrics/prometheusmetrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ var (
},
[]string{"cidr"},
)
NoAvailableIPAddrs = prometheus.NewGauge(
prometheus.GaugeOpts{
NoAvailableIPAddrs = prometheus.NewCounter(
prometheus.CounterOpts{
Name: "awscni_no_available_ip_addresses",
Help: "The number of pod IP assignments that fail due to no available IP addresses",
},
Expand Down

0 comments on commit d0590be

Please sign in to comment.