Hello,
I'm trying to add fields about the thread to the default fields sent by the APM.
I want to know is it possible or not, if so how to do it ?
Thank you
Hello,
I'm trying to add fields about the thread to the default fields sent by the APM.
I want to know is it possible or not, if so how to do it ?
Thank you
Hi,
Which agent do you use? In the Java agent it is possible to add any data using addTag: https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html#api-transaction-add-tag
Best regards
Wolfram
Thank you for your answer Wolfram,
At the moment i am trying to collect data about threads launched by an application deployed on jboss, do you have an idea how to proceed ?
The only way I know is:
This might look like: ElasticApm.currentTransaction().addTag("isDaemon", Boolean.toString(Thread.currentThread().isDaemon()));
Hope this helps...
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.