redpanda-data / kminion

KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go. It is lightweight and highly configurable so that it will meet your requirements.
MIT License
610 stars 122 forks source link

HTTP and HTTPS listen port for exporter #185

Open robertos1232 opened 1 year ago

robertos1232 commented 1 year ago

Greetings,

Is it possible to add an https option in the Kminion exporter.

This option could be configurable from the configuration file

example here: exporter: //Namespace is the prefix for all exported Prometheus metrics namespace: "kminion" //Host that shall be used to bind the HTTP server on host: "" //Port that shall be used to bind the HTTP server on port: 8080 //Enable TLS server (default - false) tls.enable: false //crt file tls.crt.file: // path to your crt file //key file tls.key.file: //path to your key file

This option could be useful if we don't want to install, for example, nginx before our Kminion.