Closed gathanase closed 1 year ago
Hi!
Thank you so much for reporting. Could you create a PR with the suggestion?
I am very unconfortable doing a PR as I don't understand why there are 2 jmx ports.
Hi, When testing the change, I deployed a debian container and used curl to get the metrics and it responded without any delay. Do you think this is related to the number of tables ?
Now that the change is merged, could you give it a try ?
The slow metrics retrieval was due to CPU limits on the metrics sidecar container. Thanks!
Name and Version
bitnami/cassandra 9.7.4
What steps will reproduce the bug?
Running a simple install with the metrics container enabled:
helm upgrade --install -f values.yaml cass bitnami/cassandra
Are you using any custom parameters or values?
What is the expected behavior?
The sidecar metrics container can scrap cassandra metrics
What do you see instead?
The sidecar metrics container continuously log errors
Additional information
So I suggest this change in file charts/bitnami/cassandra/values.yaml, it fixes the problem:
--set metrics.containerPorts.jmx=7199
and it is now fast enough, I am not sure why.