Adjust RabbitMQ Exporter Probes
The currently defined RabbitMQ Exporter probes make a call to the "/metrics" path of the exporter service, which downloads a huge file and takes a very long time to download. An http probe should be based on a very simple and short url response from the service. So this changes the probes to just call the base path "/" of the url and set the timeout to something reasonable like 5 seconds. Change-Id: Ie106490b2fb8d61660663f39a992bf4dc1a61222
This commit is contained in:
parent
4f30b1361e
commit
72afe093aa
@ -17,7 +17,7 @@ limitations under the License.
|
||||
{{- define "exporterProbeTemplate" }}
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
path: /metrics
|
||||
path: /
|
||||
port: {{ tuple "prometheus_rabbitmq_exporter" "internal" "metrics" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||
{{- end }}
|
||||
|
||||
|
@ -56,13 +56,13 @@ pod:
|
||||
params:
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 20
|
||||
timeoutSeconds: 5
|
||||
liveness:
|
||||
enabled: true
|
||||
params:
|
||||
initialDelaySeconds: 120
|
||||
periodSeconds: 90
|
||||
timeoutSeconds: 70
|
||||
timeoutSeconds: 5
|
||||
security_context:
|
||||
exporter:
|
||||
pod:
|
||||
|
Loading…
Reference in New Issue
Block a user