feature: added AdmissionController metrics (#7711)
* feature: added AdmissionController metrics * fix: flag control on admissionCollector * fix: admission collector disclaimer year and linting
This commit is contained in:
parent
43c22c4914
commit
a5bab6a715
7 changed files with 333 additions and 14 deletions
|
|
@ -32,6 +32,9 @@ type DummyCollector struct{}
|
|||
// ConfigSuccess ...
|
||||
func (dc DummyCollector) ConfigSuccess(uint64, bool) {}
|
||||
|
||||
// SetAdmissionMetrics ...
|
||||
func (dc DummyCollector) SetAdmissionMetrics(float64, float64, float64, float64, float64, float64) {}
|
||||
|
||||
// IncReloadCount ...
|
||||
func (dc DummyCollector) IncReloadCount() {}
|
||||
|
||||
|
|
@ -48,10 +51,10 @@ func (dc DummyCollector) IncCheckErrorCount(string, string) {}
|
|||
func (dc DummyCollector) RemoveMetrics(ingresses, endpoints []string) {}
|
||||
|
||||
// Start ...
|
||||
func (dc DummyCollector) Start() {}
|
||||
func (dc DummyCollector) Start(admissionStatus string) {}
|
||||
|
||||
// Stop ...
|
||||
func (dc DummyCollector) Stop() {}
|
||||
func (dc DummyCollector) Stop(admissionStatus string) {}
|
||||
|
||||
// SetSSLExpireTime ...
|
||||
func (dc DummyCollector) SetSSLExpireTime([]*ingress.Server) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue