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 i followed the mentioned steps but my application is not sending any of the metric data.
My setup:
-
OS
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy -
dotnet --version
7.0.401 -
Elasticsearch version
8.10.2 -
Kibana version
8.10.2 -
downloaded dotnet profiler
-
location /home/sami/Downlaods/elastic_apm_profiler_1.24.0-linux-x64
-
environment variables has been set
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 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.