1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 11:48:53 +00:00

Img fix for custom-metrics image

This commit is contained in:
AshwinSriram11 2025-01-06 15:34:34 +05:30
parent f504f0f6c8
commit 12c666340e

View file

@ -70,7 +70,7 @@ A common problem related to `ServiceMonitor` identification by Prometheus is rel
<!-- do not change this link without verifying that the image will display correctly on https://prometheus-operator.dev -->
![flow diagram](/img/custom-metrics-elements.png)
![flow diagram](../img/custom-metrics-elements.png)
Note: The `ServiceMonitor` references a `Service` (not a `Deployment`, or a `Pod`), by labels *and* by the port name in the `Service`. This *port name* is optional in Kubernetes, but must be specified for the `ServiceMonitor` to work. It is not the same as the port name on the `Pod` or container, although it can be.