Skip to content

Commit 7bc711b

Browse files
Lindsay Hanksjdn5126
authored andcommitted
just metrics
1 parent 700702d commit 7bc711b

14 files changed

+1
-3823
lines changed

config/grafana/grafana_dashboard.json

Lines changed: 0 additions & 2404 deletions
This file was deleted.

pkg/ipamd/datastore/data_store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ func (ds *DataStore) GetIPStats(addressFamily string) *DataStoreStats {
888888

889889
// GetENIUtilization updates a Prometheus gauge vector with each ENIs id and how many ip addresses are assigned on it
890890
func (ds *DataStore) GetENIUtilization() {
891-
//eniUtilization.Reset()
891+
eniUtilization.Reset() // May need to reset so if an ENI is detached it won't persist in the metrics
892892
for _, eni := range ds.eniPool {
893893
count := 0
894894
for _, assignedAddr := range eni.AvailableIPv4Cidrs {

test/integration/warm-pool/clear_warm_env.go

Lines changed: 0 additions & 26 deletions
This file was deleted.

test/integration/warm-pool/set_warm_env.go

Lines changed: 0 additions & 26 deletions
This file was deleted.

test/integration/warm-pool/use_case_1_test.go

Lines changed: 0 additions & 98 deletions
This file was deleted.

test/integration/warm-pool/use_case_2_test.go

Lines changed: 0 additions & 104 deletions
This file was deleted.

test/integration/warm-pool/use_case_3_test.go

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)