diff --git a/Documentation/media/prometheus-execute-metric-cursor.png b/Documentation/media/prometheus-execute-metric-cursor.png new file mode 100644 index 000000000..992a866c7 Binary files /dev/null and b/Documentation/media/prometheus-execute-metric-cursor.png differ diff --git a/Documentation/media/prometheus-graph.png b/Documentation/media/prometheus-graph.png new file mode 100644 index 000000000..6ce929f1d Binary files /dev/null and b/Documentation/media/prometheus-graph.png differ diff --git a/Documentation/media/prometheus-metric-cursor-graph.png b/Documentation/media/prometheus-metric-cursor-graph.png new file mode 100644 index 000000000..10bb95736 Binary files /dev/null and b/Documentation/media/prometheus-metric-cursor-graph.png differ diff --git a/Documentation/media/prometheus-metric-cursor.png b/Documentation/media/prometheus-metric-cursor.png new file mode 100644 index 000000000..4985af49e Binary files /dev/null and b/Documentation/media/prometheus-metric-cursor.png differ diff --git a/Documentation/media/prometheus-monitor.png b/Documentation/media/prometheus-monitor.png new file mode 100644 index 000000000..1f161ac07 Binary files /dev/null and b/Documentation/media/prometheus-monitor.png differ diff --git a/Documentation/monitoring.md b/Documentation/monitoring.md index 6264532e4..6bccf3802 100644 --- a/Documentation/monitoring.md +++ b/Documentation/monitoring.md @@ -49,9 +49,29 @@ Once the Prometheus server is running, you can open a web browser and go to the echo "http://$(kubectl -n rook -o jsonpath={.status.hostIP} get pod prometheus-rook-prometheus-0):30900" ``` -You should now see the Prometheus monitoring website. Click on `Graph` in the top navigation bar. In the dropdown that says `insert metric at cursor`, -select any metric you would like to see, for example `ceph_cluster_used_bytes`, followed by clicking on the `Execute` button. Below the `Execute` button, ensure -the `Graph` tab is selected and you should now see a graph of your chosen metric over time. +You should now see the Prometheus monitoring website. + +![Prometheus Monitoring Website](media/prometheus-monitor.png) + + +Click on `Graph` in the top navigation bar. + +![Prometheus Add graph](media/prometheus-graph.png) + + +In the dropdown that says `insert metric at cursor`, select any metric you would like to see, for example `ceph_cluster_total_used_bytes` + +![Prometheus Select Metric](media/prometheus-metric-cursor.png) + + +Click on the `Execute` button. + +![Prometheus Execute Metric](media/prometheus-execute-metric-cursor.png) + +Below the `Execute` button, ensure the `Graph` tab is selected and you should now see a graph of your chosen metric over time. + +![Prometheus Execute Metric](media/prometheus-metric-cursor-graph.png) + ## Prometheus Consoles You can find Prometheus Consoles here: https://github.com/ceph/cephmetrics/tree/master/dashboards/current.