You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root.PersistentFlags().StringVar(&config.Host, "metrics-host", config.Host, "Host name or ip address for Prometheus metrics")
75
+
root.PersistentFlags().Int16Var(&config.Port, "metrics-port", config.Port, "Port for Prometheus metrics")
76
+
root.PersistentFlags().StringVar(&config.PathPrefix, "metrics-path-prefix", config.PathPrefix, "Path prefix for Prometheus metrics")
77
+
root.PersistentFlags().DurationVar(&config.PollPeriod, "metrics-poll-period", config.PollPeriod, "Polling period for Prometheus metrics updates")
78
+
root.PersistentFlags().DurationVar(&config.ShutdownTimeout, "metrics-shutdown-timeout", config.ShutdownTimeout, "Shutdown timeout of the Prometheus metrics server")
0 commit comments