- Starts a metric server with custom metrics defined in
localmetrics
pkg
metricsPort = "8080"
metricsPath = "/metrics"
secretWatcherScanInterval = time.Duration(10) * time.Minute
metricsPort 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