From b504424d867e088f3d51026bae7f2c82395115f7 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Thu, 5 May 2022 11:07:16 -0600 Subject: [PATCH] docs: add prometheus doc link to pick up rook service monitor If prometheus is already installed in a cluster, it may not be configured to watch for third-party service monitors such as for Rook. To help with this configuration, a link is added to the doc for enabling the third-party service monitors. Signed-off-by: Travis Nielsen (cherry picked from commit 91a8011a614ad3eb1fcffcdf06c413e3aa363bc8) --- Documentation/ceph-monitoring.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/ceph-monitoring.md b/Documentation/ceph-monitoring.md index 3e8c80482..ec47f9d95 100644 --- a/Documentation/ceph-monitoring.md +++ b/Documentation/ceph-monitoring.md @@ -14,6 +14,10 @@ contains a Prometheus instance, it will automatically discover Rook's scrape end `prometheus.io/scrape` and `prometheus.io/port` annotations. > **NOTE**: This assumes that the Prometheus instances is searching all your Kubernetes namespaces for Pods with these annotations. +> If prometheus is already installed in a cluster, it may not be configured to watch for third-party service monitors such as for Rook. +> Normally you should be able to add the prometheus annotations "prometheus.io/scrape=true" and prometheus.io/port={port} and +> prometheus would automatically configure the scrape points and start gathering metrics. If prometheus isn't configured to do this, see the +> [prometheus operator docs](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#prometheusioscrape). ## Prometheus Operator