# Code Execution time in Elastic APM

**URL:** <https://discuss.elastic.co/t/code-execution-time-in-elastic-apm/258662>\
**Category:** APM\
**Tags:** dotnet, python\
**Created:** [December 15, 2020, 1:54am UTC](https://discuss.elastic.co/t/code-execution-time-in-elastic-apm/258662 "2020-12-15T01:54:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreedharbukya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sreedharbukya/32/70451_2.png) [@sreedharbukya](https://discuss.elastic.co/u/sreedharbukya)\
**Post date:** [December 15, 2020, 1:54am UTC](https://discuss.elastic.co/t/code-execution-time-in-elastic-apm/258662/1 "2020-12-15T01:54:52Z")

</div>

**Kibana version** : 7.5.2

**Elasticsearch version** : 7.5.2

**APM Server version** : 7.5.2

**APM Agent language and version** : Python, DotNet

**Browser version** :

**Fresh install or upgraded from other version?** upgraded

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

In the timeline view of the API Performance. I can see what happened with networks calls and SQL queries but missing the block if the code execution is running slow. It is completely missing!

I can't share the screen shots since it is confidential information, but happy to write email to elastic APM team if required!

**Steps to reproduce** :

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [December 17, 2020, 5:15pm UTC](https://discuss.elastic.co/t/code-execution-time-in-elastic-apm/258662/2 "2020-12-17T17:15:26Z")

</div>

Hi @sreedharbukya,

I think this won't be enough information for us to help. One thing you can do is to turn on agent logs on `Debug` or `Tracing` level and see if you find anything there.

You'll find info [in the docs](https://www.elastic.co/guide/en/apm/agent/index.html) on how to do that.

---

<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 7, 2021, 1:15pm UTC](https://discuss.elastic.co/t/code-execution-time-in-elastic-apm/258662/3 "2021-01-07T13:15:27Z")

</div>

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