Commit Graph

6 Commits

Author SHA1 Message Date
Piotr Kiełkowicz 14cd8548f1
Bump test dependencies (#3355)
* Bump Microsoft.VisualStudio.Azure.Containers.Tools.Targets to 1.20.1

* Bump Elastic.Clients.Elasticsearch 8.13.3
2024-04-08 12:38:00 +02:00
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
Piotr Kiełkowicz 2e4a4c25df
[IntegrationTests] Test other instrumentation with various library versions. (#2241) 2023-02-23 11:04:11 +01:00
Piotr Kiełkowicz 309c20b29b
[IntegrationTests] Support for testing multiple nuget package versions (#2230)
* TestApplication - Compile shared classes into TestApplications

* ApiVersion -> TestedPackageVersion

* IntegrationTests - do not override compilation constants

* Prepare StackExchangeRedisTests to execute multiple libraries

* Adjust TestApplication building path
to allow to build it for more than one library version

* typo fix

* remove redundant usings

* temporary use default lib version

* Unify restore process for Windows and Linux

* Fix path while testing scripts

* Redis - execute tests for set of libraries

* Bump StackExchange.Redis to 2.6.90 (test folder)

* Empty TestedPackageVersionsGenerator

* Generates files for xUnit and Build

* Include test version generator into pipeline

* Refactor generator

* dotnet-format

* Fix compilation issue

* Add MassTransit to multiple lib tests

* remove unused parameter

* add missing file from previous commit

* TestedPackageVersion -> LibraryVersion

* PR feedback make class internal

* Fix BaseIntermediateOutputPath

* PR feedback update header file

* Fix StackExchangeRedis multiple versions

* PR feedback - improve restore/build process
2023-02-22 08:42:03 -08:00
xiang17 a36ba28e55
Manage dependencies with Central Package Management (#2004) 2023-01-23 11:46:12 +00:00
Piotr Kiełkowicz 5284642ae1
Add Elasticsearch traces instrumentations (#1890) 2023-01-04 11:24:53 +00:00