fluent / fluent/fluent-bit

Add TLS support to prometheus_exporter

Open
#7,056 16 comments 7 reactions 1 assignee Claimed by @braydonk View on GitHub
enhancement
Dominant language
C
Stars
8.1k
Forks
2k
Avg merge
4d 16h
Merged PRs (30d)
58

Description

**Is your feature request related to a problem? Please describe.**

Provide support for using TLS when scraping the Prometheus endpoint.

**Describe the solution you'd like**
Similar to other output plugins, the usual security configuration for TLS:

```
[INPUT]
name fluentbit_metrics
tag internal_metrics
scrape_interval 2

[OUTPUT]
name prometheus_exporter
match internal_metrics
host 0.0.0.0
port 2021
tls on
tls.verify off
```

**Describe alternatives you've considered**

Prometheus remote write could be used, although currently needs to be enabled for Prometheus.
A secure tunnel could also be used.

**Additional context**

Securing the scraping of potentially sensitive cluster information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.