opentelemetry-dotnet-instru.../test/IntegrationTests/Helpers
Zach Montoya df78d34cb9
Update native code (#2280)
* Port all of the changes to the native product and native tests

* Pass integrations to the profiler via C# and PInvoke, instead of integrations.json

* Delete integrations.json and remove environment variable OTEL_DOTNET_AUTO_INTEGRATIONS_FILE

* Add ByRef improvements to the CallTarget infrastructure:
- struct CallTargetReturn/CallTargetReturn<T> is now a readonly ref struct
- Pass CallTargetState by ref into EndMethod integration callbacks
- Pass input arguments by ref into BeginMethod integration callbacks

See f2cbb4ba93

* Really small changes to CallTarget infrastructure

* Fix build when using C#11

* Run format-native.sh

* Update native headers

* Fix possible null reference exception

* Fix changelog lint error

* Fix yet another native header issue

* Skip the StrongNamedTests for now

* Add the instrumentation type ("Trace|Log|Metric") and the instrumentation name (e.g. "GraphQL") to each instrumentation to allow for enabling and disabling integrations via environment variables

* Fix native format errors

* Fix the StackExchangeRedis integration definitions, which should resolve the integration test issues for the CustomSdkTests case and the StackExchangeRedisTests case

* Drop: Temporary launchSettings.json

* Commit updates to NServiceBus to try and resolve multiple System.Diagnostics.DiagnosticSource dll's getting loaded

* Add DiagnosticSource package reference to fix .NET Frameowrk test applications

* Add test skip for "TestApplication.StrongNamedValidation" spans, and document the GH issue that tracks the follow-up work

* Remove Datadog log prefix

* PR feedback: Update comments in NativeCallTargetDefinition.cs to keep the native call target definitions struct in-sync on the managed and native side

---------
2023-04-14 07:24:06 +02:00
..
Compatibility Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
TestContainers Bump Testcontainers to 2.4.0 (#2144) 2023-02-02 10:56:40 +00:00
CollectorRequestHelper.cs Cleanup usings (#2191) 2023-02-13 09:36:00 +00:00
CollectorResponseHelper.cs Cleanup usings (#2191) 2023-02-13 09:36:00 +00:00
DockerFileHelper.cs Add Dependabot updates for IntegrationTests Docker dependencies (#2339) 2023-03-17 19:14:30 +01:00
DockerNetworkHelper.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
EnvironmentHelper.cs Update native code (#2280) 2023-04-14 07:24:06 +02:00
EnvironmentTools.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
FirewallHelper.cs Remove LegacyMockZipkinCollector and cleanup (#1494) 2022-10-24 20:36:48 +02:00
FirewallPort.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
GacEntry.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
HealthzHelper.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
InstrumentedProcessHelper.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
MockLogsCollector.cs Refactor test timeout: rename static class (#2187) 2023-02-10 10:13:16 +00:00
MockMetricsCollector.cs Cleanup usings (#2191) 2023-02-13 09:36:00 +00:00
MockSpansCollector.cs Refactor test timeout: rename static class (#2187) 2023-02-10 10:13:16 +00:00
MockZipkinCollector.cs Refactor test timeout: rename static class (#2187) 2023-02-10 10:13:16 +00:00
OtlpResourceExpector.cs Refactor test timeout: rename static class (#2187) 2023-02-10 10:13:16 +00:00
OutputHelper.cs Drop .NET Core 3.1 support (#1603) 2022-11-10 08:38:11 +00:00
PowershellHelper.cs IntegrationTests - enable nullable (#1828) 2022-12-19 19:02:54 +00:00
ProcessHelper.cs Refactor test timeout: rename static class (#2187) 2023-02-10 10:13:16 +00:00
RuntimeHelper.cs IntegrationTests - enable nullable (#1828) 2022-12-19 19:02:54 +00:00
TcpPortProvider.cs IntegrationTests - enable nullable (#1828) 2022-12-19 19:02:54 +00:00
TestHelper.cs Add NuGet packages (#2286) 2023-03-10 16:16:47 -08:00
TestHttpServer.AspNetCore.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
TestHttpServer.NetFramework.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00
TestSettings.cs IntegrationTests - enable nullable (#1828) 2022-12-19 19:02:54 +00:00
TestTimeout.cs Refactor test timeout: rename static class (#2187) 2023-02-10 10:13:16 +00:00
TimeExtensions.cs Enable implicit usings (#1966) 2023-01-10 10:03:46 -08:00