Auto instromentation is not working

I have simple dotnet application which i want auto instrument. i have followed all the mentioned steps mentioned in the documentation.
Steps taken:

  1. downloaded and extracted elastic_apm_profiler in /home/samiullah/Downloads/elastic_apm_profiler_1.24.0-linux-x64
  2. setup environment variables for root /.bashrc and user /home/samiullah/.bashrc
export CORECLR_ENABLE_PROFILING=1
export CORECLR_PROFILER={FA65FE15-F085-4681-9B20-95E04F6C03CC}
export CORECLR_PROFILER_PATH=/home/samiullah/Downloads/elastic_apm_profiler_1.24.0-linux-x64/libelastic_apm_profiler.so
export ELASTIC_APM_PROFILER_HOME=/home/samiullah/Downloads/elastic_apm_profiler_1.24.0-linux-x64
export ELASTIC_APM_PROFILER_INTEGRATIONS=/home/samiullah/Downloads/elastic_apm_profiler_1.24.0-linux-x64/integrations.yml
export ELASTIC_APM_SERVER_URL='https://localhost:8200'
export ELASTIC_APM_SERVICE_NAME='ProfilerAppTest'
export ELASTIC_APM_SERVICE_VERSION='1.0.0'
export ELASTIC_APM_ENVIRONMENT='development'
export ELASTIC_APM_LOG_LEVEL=Debug
export ELASTIC_APM_PROFILER_LOG_DIR=/var/log/elastic/apm-agent-dotnet/elastic_apm.log
export ELASTIC_APM_VERIFY_SERVER_CERT=false

location and content of auto profiler:

root@sami-Alienware-Area-51m:~# ls -lrt /home/samiullah/Downloads/elastic_apm_profiler_1.24.0-linux-x64
total 3404
-rw-rw-r-- 1 samiullah samiullah   11346 May 25  2021 LICENSE
-rw-rw-r-- 1 samiullah samiullah    3969 Sep 20 18:06 NOTICE
-rw-rw-r-- 1 samiullah samiullah     137 Sep 20 18:07 elastic_apm_profiler.xml
-rw-rw-r-- 1 samiullah samiullah    7476 Sep 20 18:07 elastic_apm_profiler.pdb
-rw-rw-r-- 1 samiullah samiullah    4608 Sep 20 18:07 elastic_apm_profiler.dll
-rw-rw-r-- 1 samiullah samiullah    3572 Sep 20 18:07 elastic_apm_profiler.deps.json
-rwxrwxr-x 1 samiullah samiullah 3348888 Sep 20 18:09 libelastic_apm_profiler.so
-rw-rw-r-- 1 samiullah samiullah     155 Sep 20 18:09 README
drwxrwxr-x 2 samiullah samiullah    4096 Oct 17 10:02 netstandard2.0
drwxrwxr-x 2 samiullah samiullah    4096 Oct 17 10:02 netstandard2.1
drwxrwxr-x 2 samiullah samiullah   12288 Oct 17 10:02 net462
-rw-rw-r-- 1 samiullah samiullah   67674 Oct 17 10:58 integrations.yml

in my sample application i have 3 endpoints

  1. https://localhost:5001/greet => simple message is shown when accessed
  2. https://localhost:5001/rum => open a html page in which i have js agent for RUM data which working fine i'm receiving the for RUM part.
  3. https://localhost:5001/add => performs basic arithmetic operation and shows the message

So when access other endpoints apart from the rum endpoint i receive no metric data.

this is app program.cs file :


var builder = WebApplication.CreateBuilder(args);


builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();

var app = builder.Build();

if (app.Environment.IsDevelopment())
{
    app.UseSwagger();
    app.UseSwaggerUI();
}

app.UseHttpsRedirection();

app.UseAuthorization();

app.MapControllers();

app.UseStaticFiles(); 

app.MapGet("/greet", () => "Hello, welcome to our API!");
app.MapGet("/add/{a:int}/{b:int}", (int a, int b) => a + b);
app.MapGet("/rum", (HttpContext context) => 
{
    Console.WriteLine($"APM Server: {Environment.GetEnvironmentVariable("ELASTIC_APM_SERVER_URL")}");
    Console.WriteLine($"APM Service Name: {Environment.GetEnvironmentVariable("ELASTIC_APM_SERVICE_NAME")}");
    Console.WriteLine($"ELASTIC_APM_PROFILER_LOG_DIR: {Environment.GetEnvironmentVariable("ELASTIC_APM_PROFILER_LOG_DIR")}");
    Console.WriteLine($"ELASTIC_APM_LOG_LEVEL: {Environment.GetEnvironmentVariable("ELASTIC_APM_LOG_LEVEL")}");
    return context.Response.SendFileAsync("wwwroot/rum.html");
});


app.Run();

when run the app and try to access any endpoint no response but i access rum endpoint em getting env var data following terminal contents while app is running:

samiullah@sami-Alienware-Area-51m:~/Desktop/dotnetprofiler$ sudo -i
[sudo] password for samiullah: 
root@sami-Alienware-Area-51m:~# cd /home/samiullah/Desktop/dotnetprofiler/MyApiApp/
root@sami-Alienware-Area-51m:/home/samiullah/Desktop/dotnetprofiler/MyApiApp# dotnet run
Building...
warn: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[8]
      The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert.
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Overriding address(es) 'http://localhost:5081'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /home/samiullah/Desktop/dotnetprofiler/MyApiApp
APM Server: https://localhost:8200
APM Service Name: ProfilerAppTest
ELASTIC_APM_PROFILER_LOG_DIR: /var/log/elastic/apm-agent-dotnet/elastic_apm.log
ELASTIC_APM_LOG_LEVEL: Debug

Following is my .csproj file:

<Project Sdk="Microsoft.NET.Sdk.Web">
 <PropertyGroup>
    <TargetFramework>net7.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Elastic.Apm.NetCoreAll" Version="1.24.0" />
    <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.11" />
    <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
  </ItemGroup>

</Project>

Following is my appsettings.json:

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning",
      "ElasticApm": "Debug"
    }
  },
  "AllowedHosts": "*",
  "ElasticApm": {
    "ServerUrls": "https://localhost:8200",
    "LogLevel": "Debug",
    "ServiceName": "ProfilerAppTest",
    "ServiceVersion": "ASP.NET Core 7",
    "VerifyServerCert":false
  },
  "Kestrel": {
    "Endpoints": {
      "HttpsDefaultCert": {
        "Url": "https://localhost:5001"
      }
    }
  }
}

log folder apm_agent_dotnet: As em working on it its 2023-10-17 and em running the app but no logs are being generated today.

root@sami-Alienware-Area-51m:~# ls -lrt /var/log/elastic/apm-agent-dotnet/
total 12
-rw-r--r-- 1 root root 219 Oct  9 13:43 elastic_apm_profiler_dotnet_15086_1696848237.log
-rw-r--r-- 1 root root 219 Oct  9 13:44 elastic_apm_profiler_dotnet_15195_1696848249.log
-rw-r--r-- 1 root root 219 Oct  9 13:44 elastic_apm_profiler_MyApiApp_15233_1696848251.log
-rw-r--r-- 1 root root   0 Oct 16 16:57 elastic_apm_profiler_vsce-sign_25588_1697464634.log
-rw-r--r-- 1 root root   0 Oct 16 16:57 elastic_apm_profiler_vsce-sign_25686_1697464649.log
-rw-r--r-- 1 root root   0 Oct 16 16:57 elastic_apm_profiler_vsce-sign_25743_1697464659.log
-rw-r--r-- 1 root root   0 Oct 16 16:57 elastic_apm_profiler_vsce-sign_26767_1697464673.log
-rw-r--r-- 1 root root   0 Oct 16 16:58 elastic_apm_profiler_dotnet_28112_1697464690.log
-rw-r--r-- 1 root root   0 Oct 16 16:58 elastic_apm_profiler_Microsoft.VisualStudio.Code_28142_1697464691.log
-rw-r--r-- 1 root root   0 Oct 16 16:58 elastic_apm_profiler_dotnet_28144_1697464691.log
-rw-r--r-- 1 root root   0 Oct 16 16:58 elastic_apm_profiler_Microsoft.ServiceHub_28219_1697464693.log
-rw-r--r-- 1 root root   0 Oct 16 16:58 elastic_apm_profiler_Microsoft.VisualStudio.Reliability_28249_1697464695.log
-rw-r--r-- 1 root root   0 Oct 16 16:58 elastic_apm_profiler_Microsoft.VisualStudio.Code_28259_1697464695.log
-rw-r--r-- 1 root root   0 Oct 16 16:58 elastic_apm_profiler_Microsoft.VisualStudio.Code_28262_1697464695.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_31996_1697465342.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32006_1697465345.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32030_1697465355.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32039_1697465355.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32050_1697465355.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32051_1697465355.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32068_1697465355.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32080_1697465356.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32091_1697465362.log
-rw-r--r-- 1 root root   0 Oct 16 17:09 elastic_apm_profiler_vsce-sign_32142_1697465363.log

additionally as you can see only log info received at 9-oct which say the following:
[2023-10-09T13:43:57.897638916+03:00] [WARN ] problem reading integrations file /home/sami/Downlaods/elastic_apm_profiler_1.24.0-linux-x64/integrations.yml: No such file or directory (os error 2). profiler is disabled.

Note 1: I'm running app using samiullah user

Note 2: Do i need to make any configs regarding auto instrumentation in apm-server.yml

Kibana version: 8.10.3

Elasticsearch version: 8.10.3

APM Server version: 8.10.3

APM Agent language and version:
root@sami-Alienware-Area-51m:~# elastic-agent version
Binary: 8.10.3 (build: ab6e685e2020450bf801ec4becc4a0fa9aa18513 at 2023-10-05 20:07:19 +0000 UTC)
Daemon: 8.10.3 (build: ab6e685e2020450bf801ec4becc4a0fa9aa18513 at 2023-10-05 20:07:19 +0000 UTC)

Browser version:
Mozilla Firefox 118.0.2
Opera 103.0.4928.34

Original install method (e.g. download page, yum, deb, from source, etc.) and version:
step 1: downloaded and extracted elastic_apm_profiler
step 2: setup environment variables in my ubuntu os
step 3: run the app but no response

Fresh install or upgraded from other version?
None

Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.
None

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

Steps to reproduce:
step 1: downloaded and extracted elastic_apm_profiler
step 2: setup environment variables in my ubuntu os
step 3: run the app but no response

Errors in browser console (if relevant):
No Errors received

Provide logs and/or server output (if relevant): APM logs


{"@timestamp":"2023-10-16T14:51:45.960Z","log.level":"debug","message":"flushing due to time since last flush 9.410s > max_flush_time 9.410s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 9.410s > max_flush_time 9.410s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:51:45.962Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=1.54kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=1.54kb status=202"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:51:48.987Z","log.level":"debug","message":"flushing due to time since last flush 10.515s > max_flush_time 10.515s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.515s > max_flush_time 10.515s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:51:48.988Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=0.43kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=0.43kb status=202"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:51:56.724Z","log.level":"debug","message":"flushing due to time since last flush 10.762s > max_flush_time 10.762s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.762s > max_flush_time 10.762s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:51:59.539Z","log.level":"debug","message":"flushing due to time since last flush 10.551s > max_flush_time 10.551s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.551s > max_flush_time 10.551s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:06.657Z","log.level":"debug","message":"flushing due to time since last flush 9.933s > max_flush_time 9.932s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 9.933s > max_flush_time 9.932s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:08.978Z","log.level":"debug","message":"Collecting metrics","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.metrics","origin":{"file":{"line":97,"name":"base_metrics.py"},"function":"collect"},"original":"Collecting metrics"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265838073408,"name":"eapm metrics collect timer"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:09.370Z","log.level":"debug","message":"Collecting metrics","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.metrics","origin":{"file":{"line":97,"name":"base_metrics.py"},"function":"collect"},"original":"Collecting metrics"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720647759424,"name":"eapm metrics collect timer"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:09.633Z","log.level":"debug","message":"flushing due to time since last flush 10.093s > max_flush_time 10.093s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.093s > max_flush_time 10.093s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:09.634Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=0.45kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=0.45kb status=202"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:09.978Z","log.level":"debug","message":"Checking for new config...","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.conf","origin":{"file":{"line":793,"name":"__init__.py"},"function":"update_config"},"original":"Checking for new config..."},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265829680704,"name":"eapm conf updater"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:10.369Z","log.level":"debug","message":"Checking for new config...","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.conf","origin":{"file":{"line":793,"name":"__init__.py"},"function":"update_config"},"original":"Checking for new config..."},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720639366720,"name":"eapm conf updater"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:17.580Z","log.level":"debug","message":"flushing due to time since last flush 10.923s > max_flush_time 10.922s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.923s > max_flush_time 10.922s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:17.581Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=0.56kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=0.56kb status=202"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:20.089Z","log.level":"debug","message":"flushing due to time since last flush 10.455s > max_flush_time 10.455s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.455s > max_flush_time 10.455s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:27.965Z","log.level":"debug","message":"flushing due to time since last flush 10.383s > max_flush_time 10.383s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.383s > max_flush_time 10.383s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:29.103Z","log.level":"debug","message":"flushing due to time since last flush 9.013s > max_flush_time 9.013s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 9.013s > max_flush_time 9.013s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:38.701Z","log.level":"debug","message":"flushing due to time since last flush 10.735s > max_flush_time 10.735s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.735s > max_flush_time 10.735s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:38.978Z","log.level":"debug","message":"Collecting metrics","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.metrics","origin":{"file":{"line":97,"name":"base_metrics.py"},"function":"collect"},"original":"Collecting metrics"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265838073408,"name":"eapm metrics collect timer"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:39.370Z","log.level":"debug","message":"Collecting metrics","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.metrics","origin":{"file":{"line":97,"name":"base_metrics.py"},"function":"collect"},"original":"Collecting metrics"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720647759424,"name":"eapm metrics collect timer"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:39.695Z","log.level":"debug","message":"flushing due to time since last flush 10.592s > max_flush_time 10.591s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.592s > max_flush_time 10.591s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:39.696Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=0.43kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=0.43kb status=202"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:39.978Z","log.level":"debug","message":"Checking for new config...","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.conf","origin":{"file":{"line":793,"name":"__init__.py"},"function":"update_config"},"original":"Checking for new config..."},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265829680704,"name":"eapm conf updater"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:40.369Z","log.level":"debug","message":"Checking for new config...","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.conf","origin":{"file":{"line":793,"name":"__init__.py"},"function":"update_config"},"original":"Checking for new config..."},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720639366720,"name":"eapm conf updater"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:49.318Z","log.level":"debug","message":"flushing due to time since last flush 9.622s > max_flush_time 9.622s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 9.622s > max_flush_time 9.622s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:49.347Z","log.level":"debug","message":"flushing due to time since last flush 10.646s > max_flush_time 10.646s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.646s > max_flush_time 10.646s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:49.349Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=0.44kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=0.44kb status=202"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:52:59.771Z","log.level":"debug","message":"flushing due to time since last flush 10.422s > max_flush_time 10.422s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.422s > max_flush_time 10.422s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:00.057Z","log.level":"debug","message":"flushing due to time since last flush 10.739s > max_flush_time 10.739s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.739s > max_flush_time 10.739s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:08.978Z","log.level":"debug","message":"Collecting metrics","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.metrics","origin":{"file":{"line":97,"name":"base_metrics.py"},"function":"collect"},"original":"Collecting metrics"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265838073408,"name":"eapm metrics collect timer"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:09.371Z","log.level":"debug","message":"Collecting metrics","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.metrics","origin":{"file":{"line":97,"name":"base_metrics.py"},"function":"collect"},"original":"Collecting metrics"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720647759424,"name":"eapm metrics collect timer"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:09.750Z","log.level":"debug","message":"flushing due to time since last flush 9.978s > max_flush_time 9.978s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 9.978s > max_flush_time 9.978s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:09.751Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=0.44kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=0.44kb status=202"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:09.978Z","log.level":"debug","message":"Checking for new config...","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.conf","origin":{"file":{"line":793,"name":"__init__.py"},"function":"update_config"},"original":"Checking for new config..."},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265829680704,"name":"eapm conf updater"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:10.370Z","log.level":"debug","message":"Checking for new config...","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.conf","origin":{"file":{"line":793,"name":"__init__.py"},"function":"update_config"},"original":"Checking for new config..."},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720639366720,"name":"eapm conf updater"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:10.486Z","log.level":"debug","message":"flushing due to time since last flush 10.428s > max_flush_time 10.428s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.428s > max_flush_time 10.428s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:10.487Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=0.43kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=0.43kb status=202"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:20.334Z","log.level":"debug","message":"flushing due to time since last flush 10.584s > max_flush_time 10.583s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.584s > max_flush_time 10.583s"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:20.336Z","log.level":"debug","message":"Sent request, url=https://localhost:8200/intake/v2/events size=1.38kb status=202","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport.http","origin":{"file":{"line":96,"name":"http.py"},"function":"send"},"original":"Sent request, url=https://localhost:8200/intake/v2/events size=1.38kb status=202"},"process":{"name":"MainProcess","pid":6445,"thread":{"id":139720630974016,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}
{"@timestamp":"2023-10-16T14:53:21.087Z","log.level":"debug","message":"flushing due to time since last flush 10.600s > max_flush_time 10.600s","ecs":{"version":"1.6.0"},"log":{"logger":"elasticapm.transport","origin":{"file":{"line":165,"name":"base.py"},"function":"_process_queue"},"original":"flushing due to time since last flush 10.600s > max_flush_time 10.600s"},"process":{"name":"MainProcess","pid":6441,"thread":{"id":140265821288000,"name":"eapm event processor thread"}},"service":{"environment":"development","name":"MyApmApp"}}

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