Skip to content

Commit

Permalink
Add force remove metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Claes Mogren authored and jaypipes committed Dec 23, 2019
1 parent 5283eae commit 78c7c52
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cni-metrics-helper/metrics/cni_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@ var InterestingCNIMetrics = map[string]metricsConvert{
actionFunc: metricsAdd,
data: &dataPoints{},
logToFile: true}}},
"awscni_force_removed_enis": {
actions: []metricsAction{
{cwMetricName: "forceRemoveENI",
matchFunc: matchAny,
actionFunc: metricsAdd,
data: &dataPoints{},
logToFile: true}}},
"awscni_force_removed_ips": {
actions: []metricsAction{
{cwMetricName: "forceRemoveIPs",
matchFunc: matchAny,
actionFunc: metricsAdd,
data: &dataPoints{},
logToFile: true}}},
"awscni_ipamd_action_inprogress": {
actions: []metricsAction{
{cwMetricName: "ipamdActionInProgress",
Expand Down

0 comments on commit 78c7c52

Please sign in to comment.