Commit Graph

12 Commits

Author SHA1 Message Date
Piotr Kiełkowicz 9c1d42a80b
Avoid shortcuts in the project name (#2509) 2023-05-05 19:56:26 +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
Paulo Janotti cec9a1fc28
Make shell scripts work on sh (Bourne shell) (#2360) 2023-03-22 16:39:41 +01: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
Rajkumar Rangaraj 833d6775fd
Move OpenTelemetry.AutoInstrumentation.Native.so / OpenTelemetry.AutoInstrumentation.Native.dylib to a directory in tracer-home (#1902)
* Move native libraries

* DistributionStructure test changes

* correct ci changes

* Change DistributionStructure

* osx-64 -> osx-x64

* Nuget changes.

* Fix path in nuspec

* dotnet-format

* PR feedback

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-09 04:15:52 +00:00
Robert Pająk 773dce6bda
Release 0.5.0 (#1649)
* Update releasing

* Add ASPNETCORE_HOSTINGSTARTUPASSEMBLIES to envvars.sh

* Fix plugin publish in examples
2022-11-24 14:26:23 +01:00
Robert Pająk 75f27c4e65
Calulate default OS_TYPE (#1403) 2022-10-12 05:28:58 +00:00
Robert Pająk f16250003e
Handle .NET Runtime env var overrides (#1390) 2022-10-11 07:51:53 +00:00
Robert Pająk c39550280d
Change INSTALL_DIR to OTEL_DOTNET_AUTO_HOME in scripts (#1375)
Rename INSTALL_DIR to OTEL_DOTNET_AUTO_HOME in scripts
2022-10-06 14:05:23 -07:00
Robert Pająk 20194d16b9
Rename "distribution" to "operating system type" (#1358)
* Rename "distribution" to "operating system type"

* Fix CI build

* Remove line

* Apply suggestions from code review

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2022-10-04 11:03:33 -07:00
Robert Pająk 8fb0af0afa
Add instrument.sh script (#1354) 2022-10-04 06:46:34 +00:00