kuskoman / logstash-exporter

Prometheus exporter for Logstash written in Go
MIT License
64 stars 24 forks source link

HTTPS support for endpoints #348

Closed genji333 closed 3 months ago

genji333 commented 3 months ago

Feature Description

Hi! Is it possible to expose the endpoints in https instead of http? For instance: https://host-name/metrics

I might be missing something, but I can't find this in the documentation.

Version of logstash-exporter this feature request applies to

Both v1 and v2 (master)

Motivation and Goals

No response

Alternatives Considered

No response

Additional Context

No response

kuskoman commented 3 months ago

@genji333 Hello this is not something that i am planning to add to the application itself, however it feels like you are looking for SSL termination. for k8s it is something that you can do using ingress for barebone instances it can be done via reverse proxy, such as nginx

if you provide me some context on how are you using the exporter i may be able to suggest you a solution for that

genji333 commented 3 months ago

Got it, I am deploying it on servers so I guess nginx is the way to go. Thanks for the prompt reply, just want to make sure I didn't miss anything.