APM large number of spans

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?

Thanks a ton!

Hey Adam!

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).

Hi Eyal, This clears it up! Thank you very much for your response!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.