Project

General

Profile

Actions

Feature #64318

open

mgr/prometheus add support for TLS and client cert authentication

Added by Christian Rohmann 3 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
prometheus module
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Support for using TLS in all sorts of ways has come to a lot of (written in Golang) exporters via the exporter-toolkit (https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md) or via other ways.

Looking at https://docs.ceph.com/en/latest/mgr/prometheus/#configuration, the Prometheus module of the mgr does not have any support for using TLS.
Be it for the HTTP server itself or to authenticate clients with client certificates. Both of which Prometheus can quite easily make use of by setting tls_config (https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config) within the scrape config.

It would be good to be able to protect Ceph metrics endpoints via TLS transport encryption and also client certificates.
The same actually also applies to the ceph-exporter (https://github.com/ceph/ceph/tree/main/src/exporter).

There is an (unofficial) client library for C++ at https://github.com/jupp0r/prometheus-cpp, I don't know this makes sense to use for Ceph.


Related issues 1 (0 open1 closed)

Related to Orchestrator - Documentation #64596: secure monitoring stack support is not documentedResolvedRedouane Kachach Elhichou

Actions
Actions

Also available in: Atom PDF