We are currently setting up APM and have questions about transactions with a large number of spans.
For the APM Java Agent how does the transaction_max_span setting work across multiple services? If a transaction crosses two services where one service has transaction_max_span set to 10 and the other is set to 5, does this limit that transaction to only 5 spans?
Please see our data model documentation - a Transaction is the "entry" span on each service, so this setting will apply separately for each service, affecting the transactions created within it.
When talking about distributed tracing across multiple services, a transaction will be created in each service and the term we use for all of them together is "trace", which will contain 2 transactions and will be limited to 15 spans altogether in your example (assuming that the first service is calling the second service exactly once).
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.