# Elastic APM dropping spans in golang

**URL:** <https://discuss.elastic.co/t/elastic-apm-dropping-spans-in-golang/363679>\
**Category:** APM\
**Tags:** go\
**Created:** [July 24, 2024, 7:49am UTC](https://discuss.elastic.co/t/elastic-apm-dropping-spans-in-golang/363679 "2024-07-24T07:49:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishan\_khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ishan_khan/32/136249_2.png) [@ishan\_khan](https://discuss.elastic.co/u/ishan_khan)\
**Post date:** [July 24, 2024, 7:49am UTC](https://discuss.elastic.co/t/elastic-apm-dropping-spans-in-golang/363679/1 "2024-07-24T07:49:11Z")

</div>

Getting Error Dropped Spans with golang `elastic/apm/v2`, Check SC attached below,  
I have already set the [ELASTIC\_APM\_TRANSACTION\_MAX\_SPANS] to a very high number of 20000,  
But it is not showing any span in a transaction, I have properly added spans in the transactions.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/f/cfb6ca5986a30296a701085d3ca7b0ca340a58cf.png)

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [July 25, 2024, 10:50am UTC](https://discuss.elastic.co/t/elastic-apm-dropping-spans-in-golang/363679/2 "2024-07-25T10:50:43Z")

</div>

Hi @ishan_khan,

Welcome! Thanks for sharing the steps you've already tried. Can you confirm which version of Elastic APM server you are communicating with using the v2 Go agent? Can you also share your agent configuration and any errors or warnings you're seeing in the logs?
