pg_exporter icon indicating copy to clipboard operation
pg_exporter copied to clipboard

TLS/SSL support

Open keithf4 opened this issue 3 years ago • 2 comments

Are there any plans for the exporter output to have TLS/SSL support? Just looking through docs and didn't see it mentioned.

keithf4 avatar Nov 13 '21 17:11 keithf4

Looking at node_exporter (and also a recent commit of postgres_exporter), it looks like they use this toolkit to add in support for TLS and web auth

https://github.com/prometheus/exporter-toolkit

https://github.com/prometheus/exporter-toolkit/tree/master/web

keithf4 avatar Nov 15 '21 14:11 keithf4

Thanks for your feedback.

It is a reasonable feature (though I didn't use that in production...)

I'll try adding some sort of basic ssl support in next minor release.

Looking at node_exporter (and also a recent commit of postgres_exporter), it looks like they use this toolkit to add in support for TLS and web auth

https://github.com/prometheus/exporter-toolkit

https://github.com/prometheus/exporter-toolkit/tree/master/web

Vonng avatar Nov 16 '21 03:11 Vonng

Just curious if this feature is in the works at all? It's honestly one of the only things holding us back from using it as TLS is a strict requirement in some of our environments.

Tried seeing about adding it myself, but honestly above my level of go expertise. So I realize it's not as easy as it looks.

keithf4 avatar Apr 24 '23 16:04 keithf4

Now using the new prometheus client_golang & exporter-kit library to support TLS. released on 0.6.0

Vonng avatar Oct 18 '23 05:10 Vonng