-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Hi!
My prometheus exporter pod was constantly restarting because the liveness probe timed out. I've noticed a high cpu and memory usage on the exporter pod as well even though I'm only scraping a 3 node solr cluster. Since #83 does not allow to change the liveness probe settings on SolrPrometheusExporter resources, I've deployed the pod manually with a much less aggressive liveness probe configuration like:
livenessProbe:
failureThreshold: 3
httpGet:
path: /metrics
port: 8080
scheme: HTTP
initialDelaySeconds: 20
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 5
With that setting the CPU and memory usage decreased a lot. Please see the attached grafana screenshot of the cpu and memory usage of the prometheus exporter pod. Green is the pod deployed with SolrPrometheusExporter and orange is the pod I've deployed manually with the above settings.
Please allow to overwrite livenessProbe settings on SolrPrometheusExporter resources.
Keep up the good work and thanks very much!
Ben
