# Auto profiler instrumentation is not working

**URL:** <https://discuss.elastic.co/t/auto-profiler-instrumentation-is-not-working/344672>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [October 9, 2023, 2:15pm UTC](https://discuss.elastic.co/t/auto-profiler-instrumentation-is-not-working/344672 "2023-10-09T14:15:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samiullah\_Shah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samiullah_shah/32/116077_2.png) [@Samiullah\_Shah](https://discuss.elastic.co/u/Samiullah_Shah)\
**Post date:** [October 9, 2023, 2:15pm UTC](https://discuss.elastic.co/t/auto-profiler-instrumentation-is-not-working/344672/1 "2023-10-09T14:15:48Z")

</div>

Hi everyone,  
I have been using stand alone dotnet agent which working perfectly.

I now i was trying to use third party tool [dotnet auto instrumentation](https://www.elastic.co/guide/en/apm/agent/dotnet/current/setup-auto-instrumentation.html) i followed the mentioned steps but my application is not sending any of the metric data.

My setup:

1. OS  
No LSB modules are available.  
Distributor ID: Ubuntu  
Description: Ubuntu 22.04.3 LTS  
Release: 22.04  
Codename: jammy

2. dotnet --version  
7.0.401

3. Elasticsearch version  
8.10.2

4. Kibana version  
8.10.2

5. downloaded [dotnet profiler](https://github.com/elastic/apm-agent-dotnet/releases)

6. location /home/sami/Downlaods/elastic\_apm\_profiler\_1.24.0-linux-x64

7. environment variables has been set

```auto
export CORECLR_ENABLE_PROFILING=1
export CORECLR_PROFILER={FA65FE15-F085-4681-9B20-95E04F6C03CC}
export CORECLR_PROFILER_PATH=/home/sami/Downloads/elastic_apm_profiler_1.24.0-l>
export ELASTIC_APM_PROFILER_HOME="/home/sami/Downlaods/elastic_apm_profiler_1.2>
export ELASTIC_APM_PROFILER_INTEGRATIONS="/home/sami/Downlaods/elastic_apm_prof>
export ELASTIC_APM_SERVER_URLS='https://localhost:8200'
export ELASTIC_APM_SERVICE_NAME='MyApmApp'
export ELASTIC_APM_SERVICE_VERSION='1.0.0'
export ELASTIC_APM_ENVIRONMENT='development'
export ELASTIC_APM_LOG_LEVEL=Debug
export ELASTIC_APM_LOG_FILE=/var/log/elastic-apm/elastic_apm.log

```

I have a sample application on [asp.net](http://asp.net) in which I'm to receive the rum data from html page. But no data is being received from apm from auto instrumentation, when try manual instrumentation it works fine.

NOTE: no logs are being generated in /var/log/elastic-apm/elastic\_apm.log or any file created.

---

<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:** [November 6, 2023, 2:15pm UTC](https://discuss.elastic.co/t/auto-profiler-instrumentation-is-not-working/344672/2 "2023-11-06T14:15:56Z")

</div>

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