Commit Graph

6 Commits

Author SHA1 Message Date
Piotr Kiełkowicz b0ca8f0088
Drop ProfilerAttached functionality (#2698)
* Drop ProfilerAttached functionality
it was used only by our example application

* add missing file
2023-06-23 11:29:20 -07:00
Piotr Kiełkowicz c42f93e4b2
Instrumentation generator (#2614) 2023-06-14 05:14:06 +00: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
Robert Pająk 8f5fab811b
Reuse instrument.sh for development (#2161) 2023-02-03 13:07:32 +00:00
Paulo Janotti 8a5f599fb2
Make dotnet CLI issue more visible in the docs (#2128)
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2023-02-01 06:40:10 +00:00
Robert Pająk 345beca02a
Add AspNetCoreMvc as playground example (#1877) 2023-01-02 16:05:12 +01:00