Piotr Kiełkowicz
e0a0202757
Drop reference to FluentAssertions ( #3947 )
...
* Drop reference to FluentAssertions
* PR feedback
* PR feedback - assertions for repeated executions
2025-01-17 09:24:47 -08:00
Piotr Kiełkowicz
723c4d0ea1
Simplify conditional compilation ( #3865 )
2024-12-06 19:58:34 +00:00
Piotr Kiełkowicz
fb1b4a54b8
AspNetCore metrics instrumentation - cleanup code ( #3861 )
...
after dropping support for .NET6
2024-12-05 11:05:10 +01:00
Piotr Kiełkowicz
e205769091
.NET9 support ( #3796 )
...
* Typo fix
* Update End OF Support validation rule
* Update Min Supported framework rule
* Update code space
* CHANGELOG
* Update developing documentation
* Update documentation
* Use .NET9 in build pipeline
drops .NET7 and .NET6
* Bump LangVersion to 13
* Update SDK Version analyzer
* Compile against .NET9
drops .NET6 and .NET7
* Adjust nuke build
* Fix build tests
* Update examples documentation
* Cleanup net6 references in project files
* Fix tests
* Cleanup target frameworks for generated tests targets
* Adjust conditional compilation
* Remove legacy code from LogBuilderExtensions
* Fix dev comment
* Adjust CI to execute scripts tests against .net9
* revert demo target versions.
It should be fixed just after next release
* Centos Stream9 - install .NET9
* Fix LoggingBuilder integration for version 9.*
* drop debugger launch
* cleanup using
* sync versions in the comments
* DuckTyping - include GH item in TODO comment
* TransientDependenciesTests - update comment
2024-11-21 20:23:18 +01:00
Piotr Kiełkowicz
86a32ceb4a
Capture HTTP Headers/gRPC Metadata as span attributes ( #3444 )
2024-06-12 05:25:47 +00:00
Piotr Kiełkowicz
bd3855d56f
Fix ASP.NET Core Traces Instrumentation for .NET7+ ( #3246 )
...
* Fix ASP.NET Core Traces Instrumentation for .NET7+
* Bump OpenTelemetry.Instrumentation.AspNetCore to 1.7.1
2024-02-12 08:30:45 +01:00
Piotr Kiełkowicz
8516612166
Simplify copyright disclaimer ( #3181 )
2023-12-08 09:41:25 +01:00
Piotr Kiełkowicz
5067bc6bd5
AspNetCore Metrics instrumentation for .NET8 ( #3130 )
2023-11-20 08:19:52 +01:00
Piotr Kiełkowicz
9abc8e1df3
HttpClient Metrics instrumentation for .NET8 ( #3129 )
2023-11-17 06:18:01 +00:00
Piotr Kiełkowicz
689bbb4f76
Cleanup usings ( #2191 )
2023-02-13 09:36:00 +00:00
Piotr Kiełkowicz
f857312cf9
Standardize conditional compilation ( #2143 )
2023-02-02 10:22:49 +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
Robert Pająk
73ea6721ba
Release 0.5.1-beta.1 ( #1690 )
2022-11-30 09:26:11 +00:00
Piotr Kiełkowicz
4c4171c885
Bump OTel to 1.4.0-beta.3 ( #1647 )
...
* Bump OpenTelemetry.AutoInstrumentation dependencies to 1.4.0-beta.3
and other released to the newest versions
* Adjust setting up Prometheus exporter
based on https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md#140-alpha2
* Remove Microsoft.Extensions.Logging.Abstractions from duplicated libraries list
After upgrade all places references 7.0.0
* Reintroduce DiagnosticSource source to additional deps
it is needed by .NET 6 applications
* Bump Additional Dependencies to 7.0
as we should always bring the newest packages
* Use HttpClientInstrumentationOptions instead of HttpWebRequestInstrumentationOptions
based on 399fbcfaab
* Add Microsoft.Extensions.Configuration.EnvironmentVariables to Additional Store
introduced by f191e846d3
* Fix references in Smoke tests
* Update SourceNames for Http Instrumentation
due to https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.Http/CHANGELOG.md#100-rc96
* Change expected span names for Http Instrumentation
changes due to
d8c017079f
https://github.com/open-telemetry/opentelemetry-dotnet/pull/3415
8add3db43a
* Update Sql Integration name
due to https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.SqlClient/CHANGELOG.md#100-rc95
* Update tests dependencies
* Binding to System.Memory 4.0.1.2 to avoid conflicts with loaded library
Workaround will be fixed in scope of https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/issues/1646
* Update distributed structure
* Remove reference to HttpWebRequestInstrumentationOptions
from documentation. It was removed from instrumentation package
* Dotnet format fix
* Propagate workaround from 411e778fac
to TestApplication.Http.NetFramework
* Bump OpenTelemetry.Instrumentation.Runtime to 1.1.0-beta.1
* Remove todo comment
we expect that it will be needed shortly
* Remove DiagnosticSource reference from TestApplication.Http
It is not used in the application, so it is loaded from additional store
* Update documentation
2022-11-25 07:44:59 +01:00
Robert Pająk
3656f610bc
Refactor TestHttpServer and fix HttpListener leakage ( #1545 )
2022-11-08 11:21:22 +00: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
Robert Pająk
fc88555e3c
Refine HttpTests to use MockSpansCollector ( #1490 )
2022-10-24 12:11:20 +00:00
Robert Pająk
4e8fff6ba6
Rename MockZipkinCollector to LegacyMockZipkinCollector ( #1428 )
2022-10-17 14:56:24 +03:00
Piotr Kiełkowicz
fc4e409eee
Support for B3 Single propagator ( #1385 )
2022-10-10 10:13:26 +00:00
Robert Pająk
607df219ff
Stabilize and speedup LogTests ( #1295 )
...
* Stabilize and speedup LogTests
* Remove unnecessary usings
2022-09-28 17:35:01 +00:00
Robert Pająk
ad16e9c11e
Refine MockMetricsCollector and metrics tests ( #1276 )
...
* Refine MockMetricsCollector and metrics tests
* Add missing metrics expectation in AspNetTests
* Fix checking InstrumentationScopeName
* Remove space
* Fix AssertExpectations and cleanup
* Fix missingExpectations loop
* Do not expect OpenTelemetry.Instrumentation.Http in AspNetTests
* Refine AssertExpectations in MockMetricsCollector
* Refine looping logic in AssertExpectations
* Fix race condition
* Better comment
2022-09-26 16:51:09 -07:00
Piotr Kiełkowicz
c5527e4533
Ensure that mock collectors are available ( #1270 )
...
* Healthzz for MockZipkinCollector
* Healthzz for MockMetricCollector
* Healthzz for MockLogsCollector
* Extract HealthZ handler to common class
2022-09-23 11:01:19 -07:00
Robert Pająk
554c0c09b2
Fix race condition in mock collectors ( #1254 )
...
* Fix race condition in mock collectors
* Add missing lines
* Fix build
* Revert one little change
* Remove usage of timeout when calling WaitFor
* Same as before
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-09-21 19:41:53 +00:00
Rasmus Kuusmann
c3ab169955
Change mock agent to async ( #1147 )
2022-09-12 09:44:38 +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
137926eb4e
Bump OTLP proto files to v0.19.0 ( #1065 )
...
https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v0.19.0
2022-08-05 11:04:58 -07:00
Rasmus Kuusmann
c083d5f81d
Enable all metrics by default ( #934 )
...
* Enable all metrics by default
* fix asp.net metrics tests
* typo fix
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-07-14 12:46:40 -07:00
Rasmus Kuusmann
224a622387
Enable all trace instrumentations by default (simplified) ( #932 )
...
* detect asp.net core framework
* fix accessor
* cut ASP.NET Core on .NET Framework support
2022-07-13 10:52:45 -07: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
Robert Pająk
f94589b41c
Add SmokeTests.ApplicationIsIncluded ( #905 )
...
* Add ApplicationIsIncluded test
* Rename AssertExpectationsMet to AssertSpanExpectations
* Refactor
* Refactor
* Refactor
* Rename TestApplication.StartupHook to TestApplication.Smoke
* Fix SmokeTests
2022-06-29 09:41:38 -07: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