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
Add TLS support via the new web configuration file, following the
Prometheus Exporter Toolkit style for consistency across exporters.
* Usage:
kepler --web.config.file=web-config.yml
* Content of web-config.yml:
tls_server_config:
cert_file: /path/to/server.crt
key_file: /path/to/server.key
Signed-off-by: Anthony Harivel <[email protected]>
flag.BoolVar(&cfg.ExposeEstimatedIdlePower, "expose-estimated-idle-power", false, "Whether to expose the estimated idle power as a metric")
85
96
flag.StringVar(&cfg.MachineSpecFilePath, "machine-spec", "", "path to the machine spec file in json format")
86
97
flag.BoolVar(&cfg.DisablePowerMeter, "disable-power-meter", false, "whether manually disable power meter read and forcefully apply the estimator for node powers")
98
+
flag.StringVar(&cfg.TLSFilePath, "web.config.file", "", "path to TLS web config file")
0 commit comments