Project

General

Profile

Feature #54309

cephadm/monitoring: Update cephadm web endpoint to provide scrape configuration information to Prometheus

Added by Paul Cuzner 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm/monitoring
Target version:
% Done:

0%

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

Description

Starting with prometheus v2.28, prometheus.yml can fetch the scrape configurations from a http endpoint.

Documentation of the format required can be found here https://prometheus.io/docs/prometheus/2.28/configuration/configuration/#http_sd_config

By offering this feature, we simplify the internal configuration of the prometheus that cephadm deploys whilst also providing support for users to monitor ceph using an external Prometheus environment - ensuring their scrape configurations are always in line with the cluster configuration.

Obviously to make full use of this feature cephadm will need to deploy Prometheus 2.28 or newer (current version is 2.33 Feb 2022)


Related issues

Related to Orchestrator - Feature #55733: Use prometheus service discovery endpoints to dynamically configure daemons Pending Backport

History

#1 Updated by Redouane Kachach Elhichou 9 months ago

  • Assignee set to Redouane Kachach Elhichou

#2 Updated by Redouane Kachach Elhichou 9 months ago

  • Status changed from New to In Progress

#3 Updated by Redouane Kachach Elhichou 9 months ago

  • Pull request ID set to 45425

#4 Updated by Redouane Kachach Elhichou 9 months ago

  • Status changed from In Progress to Fix Under Review

#5 Updated by Redouane Kachach Elhichou 7 months ago

  • Status changed from Fix Under Review to Resolved

#6 Updated by Redouane Kachach Elhichou 7 months ago

  • Related to Feature #55733: Use prometheus service discovery endpoints to dynamically configure daemons added

Also available in: Atom PDF