fluent / fluent-bit

Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
https://fluentbit.io
Apache License 2.0
5.78k stars 1.57k forks source link

Will fluentbit's http server support HTTPs? #8772

Open duj4 opened 5 months ago

duj4 commented 5 months ago

Is your feature request related to a problem? Please describe. Collect metrics from Flunetbit's API directly via TLS instead of going out from prometheus_remote_write.

Describe the solution you'd like Add TLS configuration to http_server in service config.

Describe alternatives you've considered Either keeping using http or leveraging prometheus_remote_write plugin to redirect metrics to Prometheus server.

Additional context We would like to collect pod metrics via https, it seems fluentbit's http server does not support it but HTTP only.

patrick-stephens commented 5 months ago

We should add it to prometheus_exporter too, then people who use metrics that way also get it (e.g. when combined with fluentbit_metrics input).

duj4 commented 5 months ago

We should add it to prometheus_exporter too, then people who use metrics that way also get it (e.g. when combined with fluentbit_metrics input).

Thanks @patrick-stephens for the reply.

Yes, for now only the prometheus_remote_write supports TLS but we do need some "convenient" way to expose the metrics, like the current API does via "/api/v2/metrics/prometheus".

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

duj4 commented 2 months ago

Any update on this feature?