- Starts a metric server with custom metrics defined in
localmetricspkg
metricsPort = "8080"
metricsPath = "/metrics"
secretWatcherScanInterval = time.Duration(10) * time.MinutemetricsPort is the port used to start the metrics port
metricsPath it the path used as the metrics endpoint
secretWatcherScanInterval sets the interval at which the secret watcher will look for secrets that are expiring