Skip to content

Commit 22f570e

Browse files
authored
[Helm Chart] Set honorLabel of serviceMonitor to true (#3805)
Signed-off-by: You-Cheng Lin <[email protected]>
1 parent d40692f commit 22f570e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helm-chart/kuberay-operator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ spec:
168168
| metrics.enabled | bool | `true` | Whether KubeRay operator should emit control plane metrics. |
169169
| metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
170170
| metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
171-
| metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
171+
| metrics.serviceMonitor.honorLabels | bool | `true` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
172172
| metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
173173
| metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
174174
| operatorCommand | string | `"/manager"` | Path to the operator binary |

helm-chart/kuberay-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ metrics:
9595
# -- Prometheus ServiceMonitor interval
9696
interval: 30s
9797
# -- When true, honorLabels preserves the metric’s labels when they collide with the target’s labels.
98-
honorLabels: false
98+
honorLabels: true
9999
# -- Prometheus ServiceMonitor selector
100100
selector: {}
101101
# release: prometheus

0 commit comments

Comments
 (0)