Hi!
Using Elastic Stack for Application Performance Management (APM) I want to take insights about "transactions" but not "metrics".
I want to take insights about "transactions" like headers, custom fields, status, and so on.
But I'm not interested in "metrics" about CPU, memory, and so on, due to I have other tools for this.
I mean, I would like to index "transactions" but not "metrics" in elasticsearch.
I'm using the version 7.6.1 of the Elastic Stack (Elasticsearch, Kibana, APM Server) and the APM Java Agent 1.15.0.
The problem is that I can not stop the "metrics" sampling from Java Agent. I have treated using some JVM parameters from here:
-Delastic.apm.disable_metrics=true
-Delastic.apm.transaction_sample_rate=0.0
-Delastic.apm.instrument=false
Using "-Delastic.apm.recording=false"
the APM agent stop taking samples (metrics, transactions, everything) but this is not useful for me.
I'm running the java app from Intellij IDE. These are the other JVM parameters:
- -javaagent:/elastic-apm-agent-1.15.0.jar
- -Delastic.apm.service_name=myservice
- -Delastic.apm.server_urls=http://apm-monitoring:8200
- -Delastic.apm.application_packages=com.myapp
- -Dfile.encoding=UTF-8
Does anyone know how I can achieve this?