Remove internal newtonsoft json and move over to system.text.json #1025
Annotations
7 errors
test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L157
Expected apmServer.ReceivedData.Metadata to contain at least 1 item(s), but found 0.
|
test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L104
Expected apmServer.ReceivedData.Transactions to contain 1 item(s), but found 0.
|
test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L64
Expected apmServer.ReceivedData.Transactions to contain 1 item(s), but found 0.
|
test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L200
System.Exception : Did not receive transaction within timeout 00:01:00: info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\runneradmin\AppData\Local\Temp\a4bd219c-b668-4a7b-b56e-c70293858e75\WebApi80\bin\Publish
[2024-12-02 11:54:21.811 +00:00][14][Error] - {SystemTotalCpuProvider} Error instantiating 'Processor' performance counter
+-> Exception: System.PlatformNotSupportedException: Performance Counters are not supported on this platform.
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at Elastic.Apm.Metrics.MetricsProvider.SystemTotalCpuProvider.GetSamples() in D:\a\apm-agent-dotnet\apm-agent-dotnet\src\Elastic.Apm\Metrics\MetricsProvider\SystemTotalCpuProvider.cs:line 111
{MockApmServer} Trying to listen on port 23705...
{MockApmServer} Port 23705 is available - it will be used to accept connections from the agent
{MockApmServer} Started: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook}
{AgentsConfigController#122E53B} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook}
{AgentsConfigController#122E53B} Received get-agents-config request with query string: ?service.name=WebApi80. Current thread: `.NET TP Worker' (managed ID: 36).
{IntakeV2EventsController#2E8888F} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#2E8888F} Received request with content length: 1257. Current thread: `.NET TP Worker' (managed ID: 36).
{IntakeV2EventsController#DEA49C} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#DEA49C} Received request with content length: 1122. Current thread: `.NET TP Worker' (managed ID: 3).
{IntakeV2EventsController#357D488} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#357D488} Received request with content length: 891. Current thread: `.NET TP Worker' (managed ID: 3).
|
test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L200
System.Exception : Did not receive transaction within timeout 00:01:00: info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\runneradmin\AppData\Local\Temp\fda3fcb3-0c39-4a11-868e-09f6ab9c969f\Mvc80\bin\Publish
[2024-12-02 11:55:28.138 +00:00][8][Error] - {SystemTotalCpuProvider} Error instantiating 'Processor' performance counter
+-> Exception: System.PlatformNotSupportedException: Performance Counters are not supported on this platform.
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at Elastic.Apm.Metrics.MetricsProvider.SystemTotalCpuProvider.GetSamples() in D:\a\apm-agent-dotnet\apm-agent-dotnet\src\Elastic.Apm\Metrics\MetricsProvider\SystemTotalCpuProvider.cs:line 111
{MockApmServer} Trying to listen on port 23963...
{MockApmServer} Port 23963 is available - it will be used to accept connections from the agent
{MockApmServer} Started: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook}
{AgentsConfigController#D139A3} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook}
{AgentsConfigController#D139A3} Received get-agents-config request with query string: ?service.name=Mvc80. Current thread: `.NET TP Worker' (managed ID: 3).
{IntakeV2EventsController#16E0DE0} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#16E0DE0} Received request with content length: 1196. Current thread: `.NET TP Worker' (managed ID: 3).
{IntakeV2EventsController#1C0BDB} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#1C0BDB} Received request with content length: 1113. Current thread: `.NET TP Worker' (managed ID: 26).
{IntakeV2EventsController#3CA0B77} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#3CA0B77} Received request with content length: 887. Current thread: `.NET TP Worker' (managed ID: 36).
|
test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L200
System.Exception : Did not receive transaction within timeout 00:01:00: info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\runneradmin\AppData\Local\Temp\05b7b6f1-b061-48f9-9459-17fc83f4e888\WebApp80\bin\Publish
[2024-12-02 11:56:33.276 +00:00][10][Error] - {SystemTotalCpuProvider} Error instantiating 'Processor' performance counter
+-> Exception: System.PlatformNotSupportedException: Performance Counters are not supported on this platform.
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at Elastic.Apm.Metrics.MetricsProvider.SystemTotalCpuProvider.GetSamples() in D:\a\apm-agent-dotnet\apm-agent-dotnet\src\Elastic.Apm\Metrics\MetricsProvider\SystemTotalCpuProvider.cs:line 111
{MockApmServer} Trying to listen on port 23780...
{MockApmServer} Port 23780 is available - it will be used to accept connections from the agent
{MockApmServer} Started: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook}
{AgentsConfigController#3932174} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook}
{AgentsConfigController#3932174} Received get-agents-config request with query string: ?service.name=WebApp80. Current thread: `.NET TP Worker' (managed ID: 27).
{IntakeV2EventsController#26FCEC3} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#26FCEC3} Received request with content length: 1194. Current thread: `.NET TP Worker' (managed ID: 26).
{IntakeV2EventsController#98AC9D} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#98AC9D} Received request with content length: 1111. Current thread: `.NET TP Worker' (managed ID: 36).
{IntakeV2EventsController#DC77DA} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook}
{IntakeV2EventsController#DC77DA} Received request with content length: 890. Current thread: `.NET TP Worker' (managed ID: 36).
|
|
The logs for this run have expired and are no longer available.
Loading