# Handle transactions with large amount of spans

**URL:** <https://discuss.elastic.co/t/handle-transactions-with-large-amount-of-spans/349167>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [December 12, 2023, 3:18pm UTC](https://discuss.elastic.co/t/handle-transactions-with-large-amount-of-spans/349167 "2023-12-12T15:18:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabiend](https://avatars.discourse-cdn.com/v4/letter/f/57b2e6/32.png) [@fabiend](https://discuss.elastic.co/u/fabiend)\
**Post date:** [December 12, 2023, 3:18pm UTC](https://discuss.elastic.co/t/handle-transactions-with-large-amount-of-spans/349167/1 "2023-12-12T15:18:04Z")

</div>

Hello,

I have long running jobs on different services. I instrumented the solution to trace these jobs. They can run for hours and perform a large number of Elasticsearch requests. I would like to know what is going on when jobs start failing. Ideally I would like to create a span only when requests return an http error code or when the request time is beyond some configurable value.

At the moment, kibana cannot handle that much spans in one transaction. (Is it possible to reduce the time frame to make spans appear?) When testing this with jaeger I could display such a large amount of requests.

Is it possible to be more fine grained?

I use .net 6 to develop our services.

Thank you!

F.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 9, 2024, 3:18pm UTC](https://discuss.elastic.co/t/handle-transactions-with-large-amount-of-spans/349167/2 "2024-01-09T15:18:50Z")

</div>

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