Just checked that JVM options could be added in 
example-cassdc-minimal.yaml<https://github.com/datastax/cass-operator/blob/master/operator/example-cassdc-yaml/cassandra-3.11.x/example-cassdc-minimal.yaml>
 
(https://github.com/datastax/cass-operator/blob/master/operator/example-cassdc-yaml/cassandra-3.11.x/example-cassdc-minimal.yaml).


It seems I could add something like 
“-javaagent:${MCAC_ROOT}/lib/datastax-mcac-agent.jar", but I’ll still have to 
explicitly download MCAC jar on each node. Is that how it is suppose to be done?



If I have to go to each node to download the tar then I could just manually 
change cassandra-env.sh on each node and restart C*. I wouldn’t need to add the 
entry in example-cassdc* in that case.



What is the recommended way to add monitoring support in C* in production using 
cass-operator?


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Manu Chadha<mailto:manu.cha...@hotmail.com>
Sent: 19 December 2020 09:31
To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
Subject: add javaagent MCAC (metric collector for apache cassandra) using 
cass-operator

I am using cass-operator (https://github.com/datastax/cass-operator)

I want to add MCAC javaagent in my production system to monitor metrics 
(https://github.com/datastax/metric-collector-for-apache-cassandra).

How can I do it? The general way is to add the agent information is to change 
`cassandra-env.sh`. As cass-operator controls downloading the version and 
installation, how do I make the operator change caassandra-env.sh?



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


Reply via email to