Commit Graph

95 Commits

Author SHA1 Message Date
Mateusz Łach f92f503d3d
[log4net] bridge + trace context injection (#3825) 2024-12-13 11:00:17 +01:00
Mateusz Łach d98609aa0e
[tool] Helper tool to modify .NET SDK version used in dockerfiles and action workflows (#3740) 2024-11-04 07:28:36 +01:00
Mateusz Łach 1d515d00be
nuke target for verifying .NET SDK versions used (#3727) 2024-10-25 18:14:48 +00:00
Mateusz Łach 52d169a744
[WCF] Fix WCF instrumentation initialization (#3650) 2024-09-20 06:55:45 +00:00
Mateusz Łach 3994e93f65
[nuget] update launch scripts to verify native profiler path (#3594)
* verify existence of native profiler at expected locations before attempting to run the app with launch scripts
2024-08-30 20:53:31 +02:00
Mateusz Łach 90c86c5d0c
[RabbitMQ] bytecode instrumentation for versions 6.*.* - initial (#3533)
* rabbitmq6 bytecode instrumentation

* format fixes

* casing fix

* PR feedback

* fix changelog after merge

* revert redundant changelog change

* pr feedback

* fix after rename

---------

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2024-08-06 08:45:32 +00:00
Piotr Kiełkowicz e0c2264534
Follow Strong Named convention from main repository (#3480) 2024-07-04 06:31:35 +02:00
Piotr Kiełkowicz f59073c47e
Bump .NET SDK to 8.0.300/7.0.409/6.0.422 (#3415)
* Bump .NET SDK to 8.0.300/7.0.409/6.0.422

* Fix SelfContained application build
2024-05-17 11:55:37 +02:00
Piotr Kiełkowicz bca1cd7907
Instrumentation Oracle.MDA - traces (#3336) 2024-05-06 08:55:23 +02:00
Rajkumar Rangaraj 13caa5714f
[Dotnet Monitor Experimental] Add getting started for logs usage using dotnet-monitor (#3364)
getting-started-dotnet-monitor-logs
2024-04-12 19:36:35 +00:00
Rajkumar Rangaraj 0a3cb6e8b0
[Dotnet Monitor Experimental] Add getting started for metrics usage using dotnet-monitor (#3318)
* getting-started-dotnet-monitor-metrics

* fix markdownlint

* Raname NextGen.AutoInstrumentation to just next-gen

* Remove logger code.
2024-03-16 03:27:39 +00:00
Rasmus Kuusmann 98c60f494c
Add ARM64 Support (#3277) 2024-03-06 18:54:42 +00:00
Mateusz Łach 2c9c72a7f8
[continuous profiler] trace context tracking fix (#3228)
* continuous profiler - trace context tracking fix

* test simplification

* additional assertion in test

---------

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2024-01-16 19:22:38 +00:00
Piotr Kiełkowicz 9b260c67ec
Continuous profiler - test application (#3084)
Co-authored-by: Mateusz Łach <mateusza@splunk.com>
Co-authored-by: Robert Pająk <rpajak@splunk.com>
2023-12-01 19:37:13 +01:00
Mateusz Łach a894ff70e1
[kafka] bytecode instrumentation - sync (#3055) 2023-11-22 10:40:00 +00:00
Rasmus Kuusmann 11d051a5e0
Add support for System.Data.SqlClient (Nuget package) (#3058) 2023-10-31 21:38:28 +01:00
Mateusz Łach 29c1bdd767
`ILogger` integration fix for `net6` when `WebApplicationBuilder` is used (#3003) 2023-10-18 09:42:10 +00:00
Rajkumar Rangaraj 1c6319a201
Fix for Missing Logs in ASP.NET Core 6.0 Web and Razor Apps (#2975)
* Fix missing logs issue

* Update Changelog

* Add tests.

* PR feedback

* Remove accidental merges.

---------

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-09-26 06:11:31 +00:00
Mateusz Łach afd8a8b4cd
[WCF] use wcf client instrumentation from contrib (#2876) 2023-08-28 23:20:47 +02:00
xiang17 f5823f8268
Add Tracing support for Azure SDK (#2784) 2023-08-02 06:28:37 +00:00
Paulo Janotti 6f0ba9dfe7
Add OpenTracing integration test (#2723)
* Add OpenTracing integration test

* Undo changes to ProfilerHelper.cs
2023-06-29 15:00:48 -07:00
Rasmus Kuusmann cf5eae198d
GraphQL v7.5.0 instrumentation (#2681) 2023-06-26 10:35:47 +00:00
Piotr Kiełkowicz 7eeb222f63
MySqlConnector - traces instrumentation (#2684) 2023-06-21 18:53:52 +02:00
Mateusz Łach 3edf2a39e7
[WCF][Client] Custom bytecode instrumentation (#2659)
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2023-06-19 05:51:38 +00:00
Piotr Kiełkowicz c42f93e4b2
Instrumentation generator (#2614) 2023-06-14 05:14:06 +00:00
Paulo Janotti 78140a14d7
NuGet packages: do not bring instrumentation packages by default (#2554)
* Add NuGet to flag missing instrumentation packages

* Finish integration tests

* No bin/tracer-home for InstrumentationTargetTests

* Update doc

* Rename DisabledInstrumentations to SkippedInstrumentations

* Make InstrumentationTargetTests independent of package cache

* Remove transitive dependencies from .NET Framework deps

* Fix dotnet-format WHITESPACE issue

* Update the NuGet.Versioning package

* Why auto redirection is disabled on .NET Fx

* Clean auto-instr packages from caches

* Fix BuildTasks under VS solution

* Downgrade packages used by BuildTasks

* Add packages to BuildTasks tests

* Use Log.LogErrorFromException

* Use Log.HasLoggedError instead of tracking bool

* Improve nuget usage docs

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2023-06-07 18:57:40 -07:00
Mateusz Łach 19f4480590
[WCF] Automated test for iis-hosted service scenario (#2576) 2023-05-26 12:08:39 +02:00
Paulo Janotti 7023e28eda
Remove OpenTelemetry.AutoInstrumentation.Dependencies (#2557)
Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2023-05-22 19:20:30 +00:00
Piotr Kiełkowicz 31a03ce7cc
Fix StrongName compilation (#2562) 2023-05-22 19:18:50 +02:00
Piotr Kiełkowicz 0971ed64c5
Solution file - remove nonexisting project (#2519) 2023-05-08 10:53:09 +00:00
Paulo Janotti bb56733d7e
Restore assembly redirection for .NET Framework (#2479) 2023-04-19 10:20:21 +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
Rajkumar Rangaraj 44a24c4922
RuleEngineTracker to control rule engine execution (#2407) 2023-04-06 08:23:21 +00:00
Piotr Kiełkowicz 999a8a163e
Pomelo.EnityFrameworkCore.MySql intergation test (#2346) 2023-03-22 07:03:04 +00:00
Paulo Janotti 888e2cd216
Add NuGet packages (#2286)
* Add NuGet packages

* Fix link to nuget.config

* Apply dotnet-format fixes

* Consistent emphasis-style on README.md

* Update docs/README.md

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

* Update docs/README.md

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

* Update docs/internal/using-the-nuget-packages.md

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

* Update docs/internal/using-the-nuget-packages.md

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

* Update docs/internal/using-the-nuget-packages.md

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

* Update docs/internal/using-the-nuget-packages.md

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

* Update docs/internal/using-the-nuget-packages.md

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

* Update docs/internal/using-the-nuget-packages.md

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

* Update docs/internal/using-the-nuget-packages.md

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

* Reduce the default timeout for tests going to the web

* Add instructions on how to setup bin/ci-artifacts

* Fix doc formatting

* PR review suggestion

* Use same as style as PR 2287

---------

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2023-03-10 16:16:47 -08:00
Mateusz Łach 64ef975c01
Drop `LoaderLogger` benchmarks (#2289) 2023-03-06 11:57:22 +00: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
Rasmus Kuusmann 6e3a1ec197
Install netfx dlls to GAC for tests (#2164)
* Install netfx dlls to GAC before integration test

* fix run order

* Update tools/GacInstallTool/Program.cs

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>

* remove before

* add packages.props reference

* add comment

* Add possibility to uninstall

* pr feedback

---------

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-02-07 12:47:54 -08:00
Rasmus Kuusmann b3efbfda11
Generate transient dependencies list (#2073)
* Generate and test transient dependencies list

* revert debugging line

* revert frameworks change

* Skip tests on non windows platform

* Cleanup

* revert GenerateNetFxAssemblyRedirectionSource build

* auto run GenerateNetFxTransientDependencies
2023-01-27 08:35:10 -08:00
Mateusz Łach 3bcb488a92
Custom sdk support (#2069) 2023-01-26 12:06:13 +01:00
xiang17 622e437541
Added a benchmark project for StartupLogger's `SetStartupLogFilePath` (#2067) 2023-01-26 06:32:16 +01:00
Piotr Kiełkowicz f7597fb622
Add EntityFrameworkCore traces instrumentation (#2065) 2023-01-24 08:40:06 +01:00
Piotr Kiełkowicz 9f5240f984
Add Quartz traces instrumentation (#2019)
Add Quartz traces instrumentation.

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2023-01-20 18:05:06 +00:00
Paulo Janotti 6a686f463c
Add the .NetFramework "marker" to the DomainNeutral test app (#1988)
* Add the .NetFramework "marker" to the DomainNeutral test app

"git mv" DomainNeutral to a .NetFramework

Follow up rename on the sln file

Reflect rename on the program namespace

Rename DomainNeutral test application

* Update app name on actual test
2023-01-13 13:45:16 -08:00
Paulo Janotti 7ae4916ca9
Make StartupLogger more resilient (#1972)
* Make StartupLogger more resilient

* Update CHANGELOG.md
2023-01-12 08:27:54 -08:00
Rasmus Kuusmann dd79e41efc
Enable implicit usings (#1966)
* use implicit usings

* enable implicit usings for nuke project

* fixes
2023-01-10 10:03:46 -08:00
Rasmus Kuusmann 50ab2d2ff6
Update TestApplication.AspNet (#1910)
* change aspnet testapplication name to match the pattern

* rename missing places

* fix aspnet test
2023-01-09 15:29:26 -08:00
Piotr Kiełkowicz 5284642ae1
Add Elasticsearch traces instrumentations (#1890) 2023-01-04 11:24:53 +00:00
Piotr Kiełkowicz d1e9202c38
Add NServiceBus traces and metrics instrumentation (#1881) 2023-01-03 11:55:55 +01:00
Robert Pająk 345beca02a
Add AspNetCoreMvc as playground example (#1877) 2023-01-02 16:05:12 +01:00