Mateusz Łach
61df3cb24e
Configurable log level - native code and loader ( #2288 )
...
* handle configured log level in native code and loader
* dotnet format
* remove benchmark for removed logger
* update build after benchmark removal
* docs update
* update changelog after OTEL_DOTNET_AUTO_DEBUG removal
* extract log level consts
* Update CHANGELOG.md
Co-authored-by: Robert Pająk <pellared@hotmail.com>
* static inline consts
* pr feedback
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2023-03-07 09:05:42 -08: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
dd79e41efc
Enable implicit usings ( #1966 )
...
* use implicit usings
* enable implicit usings for nuke project
* fixes
2023-01-10 10:03:46 -08: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
Piotr Kiełkowicz
7f52c26bbf
IntegrationTests - enable nullable ( #1828 )
...
* Remove redundant nullable
* Nullable for IntegrationTests
* dotnet-format
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-19 19:02:54 +00:00
Piotr Kiełkowicz
d8d8332f63
Remove framework version from distribution structure ( #1661 )
2022-11-24 11:37:00 +00:00
Rasmus Kuusmann
c890186b42
Make HttpClient metrics instrumentation lazy ( #1639 )
2022-11-19 00:10:46 +01:00
Piotr Kiełkowicz
9ddba05e62
Remove support for OTEL_DOTNET_AUTO_INCLUDE_PROCESSES ( #1619 )
2022-11-15 10:36:59 +00:00
Robert Pająk
abeb491aab
Disable not used exporters in integration tests ( #1610 )
2022-11-10 17:54:55 +01:00
Piotr Kiełkowicz
5782c35eb2
Drop .NET Core 3.1 support ( #1603 )
2022-11-10 08:38:11 +00:00
Robert Pająk
43c5e26497
Add TestHelper.EnableBytecodeInstrumentation ( #1544 )
2022-11-08 11:30:45 +01:00
Robert Pająk
c587f56bc5
Refine tests to reduce usage of optional args and optimize defaults ( #1543 )
2022-11-08 08:29:15 +01:00
Piotr Kiełkowicz
8f846d39ee
[IntegrationTests] Remove ClearProfilerEnvironmentVariables ( #1474 )
...
remove ClearProfilerEnvironmentVariables
it is not needed as process info takes list of env. variables to set
2022-10-20 12:41:25 +00:00
Robert Pająk
fa6c733c6f
Add "telemetry" resources for logs ( #1419 )
2022-10-17 10:55:10 +02:00
Rajkumar Rangaraj
b752d79045
Remove OTEL_DOTNET_AUTO_LOGS_PARSE_STATE_VALUES ( #1301 )
2022-09-29 06:38:22 +00:00
Piotr Kiełkowicz
dd8cfc9d04
IntegrationTests - update env. variables cleanup ( #1236 )
2022-09-16 08:22:03 +00:00
Rajkumar Rangaraj
fe2a21590d
Add IntegrationTests for Logs ( #1220 )
...
* Add IntegrationTests for Logs
* ClearProfilerEnvironmentVariables
* assert on success
* PR feedback
2022-09-13 17:48:47 +00:00
Paulo Janotti
4d5167f5da
Fix bytecode instrumentation of strong named assemblies ( #1153 )
...
* Fix instrumentation of strong-named assemblies
* Add strong name where required
* Native changes for strong name only on .NET Framework
* Doc that StrongNamedValidation is temporary
* Add test application to sln
* dotnet-format fixes for new cs code
* Remove output log from test
* Add CHANGELOG.md note
2022-09-06 17:30:50 +00:00
Piotr Kiełkowicz
e5d699e9bf
Support for B3 multi propagator ( #1089 )
...
* Support for B3 multi propagator
* Apply suggestions from code review
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
* fix md lint
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-08-19 16:47:35 -07:00
Piotr Kiełkowicz
ee32f06069
Test source instrumentation without CLR Profiler ( #1084 )
...
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-08-17 12:44:30 -07:00
Piotr Kiełkowicz
773c5fb040
Grpc.Net.Client instrumentation ( #1022 )
...
* Grpc.Net.Client instrumentation
* code review feedback
Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2022-08-02 20:10:51 +00:00
Robert Pająk
77998bde98
Add PluginsTests ( #910 )
...
* Add PluginsTests
* Refactor RunTestApplicationAndWaitForExit
* Refactor MockZipkinCollector
* Refactor MockCollector
* Update test/IntegrationTests/Helpers/TestHelper.cs
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
* Update PluginsTests.cs
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-07-01 11:53:02 -07:00
Paulo Janotti
bf24e78dfe
Do not require elevation to run MockZipkinCollector ( #874 )
...
* Switch MockZipkin to localhost (non-admin)
* Mock zipkin on "*:{port}" for test with Windows container
* Fail AspNet integration test if not Administrator
* Add host parameter to MockZipkinCollector
2022-06-28 10:50:19 +00:00
Robert Pająk
bf22f0350e
Reorganize integration tests into one project ( #878 )
...
* Move integration tests to Helpers project
* Remove empty projects
* Flatten test project structure
* Move IntegrationTests.AspNet to IntegrationTests
* Update dependabot.yml
* Update AspNetTests.cs
2022-06-23 17:42:56 +00:00