InitMetrics adds metrics to the Registry
()
| 96 | |
| 97 | // InitMetrics adds metrics to the Registry |
| 98 | func init() { |
| 99 | metrics.Registry.MustRegister( |
| 100 | parseObjectErrorsTotal, getObjectsErrorsTotal, conflictErrorsTotal, |
| 101 | contextCancelErrorsTotal, activeConverterWatchers, controllerErrorsTotal) |
| 102 | } |
| 103 | |
| 104 | func getDefaultOptions() controller.Options { |
| 105 | optionsInit.Do(func() { |
nothing calls this directly
no outgoing calls
no test coverage detected