Add new prometheus metric for orphaned ingress (#8230)
* Add new metric for orhaned ingress * Fix const labels * Fix after rebase
This commit is contained in:
parent
dbe88c55a3
commit
39b5ce844b
5 changed files with 67 additions and 7 deletions
|
|
@ -2481,8 +2481,9 @@ func newDynamicNginxController(t *testing.T, setConfigMap func(string) *v1.Confi
|
|||
}
|
||||
|
||||
return &NGINXController{
|
||||
store: storer,
|
||||
cfg: config,
|
||||
command: NewNginxCommand(),
|
||||
store: storer,
|
||||
cfg: config,
|
||||
command: NewNginxCommand(),
|
||||
metricCollector: metric.DummyCollector{},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue