Commit Graph

154 Commits

Author SHA1 Message Date
Piotr Kiełkowicz 5284642ae1
Add Elasticsearch traces instrumentations (#1890) 2023-01-04 11:24:53 +00:00
Robert Pająk cd0bdf66be
Cleanup TestApplication.GraphQL.csproj (#1886) 2023-01-03 11:45:46 -08:00
Piotr Kiełkowicz d1e9202c38
Add NServiceBus traces and metrics instrumentation (#1881) 2023-01-03 11:55:55 +01:00
Robert Pająk e9948977bb
Rename TestApplication.Wcf.Client.Core to TestApplication.Wcf.Client.DotNet (#1875)
- Rename TestApplication.Wcf.Client.Core to TestApplication.Wcf.Client.DotNet

- Remove TestApplication.Wcf.Client.Shared from .sln file

- Add launchSettings.json that is generated during build
2022-12-29 13:48:27 +00:00
Robert Pająk 173be32ae1
Move TestApplication.Wcf.Shared DTOs to TestApplication.Wcf.Client.Core (#1873) 2022-12-29 11:51:23 +00:00
dependabot[bot] d64c37351c
Bump OpenTelemetry.Instrumentation.Wcf from 1.0.0-rc.7 to 1.0.0-rc.8 in /src/OpenTelemetry.AutoInstrumentation (#1868)
* Bump OpenTelemetry.Instrumentation.Wcf

Bumps [OpenTelemetry.Instrumentation.Wcf](https://github.com/open-telemetry/opentelemetry-dotnet-contrib) from 1.0.0-rc.7 to 1.0.0-rc.8.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/compare/Instrumentation.Wcf-1.0.0-rc.7...Instrumentation.Wcf-1.0.0-rc.8)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Instrumentation.Wcf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update other files

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2022-12-29 11:12:51 +01:00
Paulo Janotti de86993d60
Automatic netfx assembly redirection (#1825)
* Redirect assemblies for .NET Fx via CLR profiler

* Bump transitive dependencies to latest

* Revert "Bump transitive dependencies to latest"

This reverts commit e291eb893dbbe11bebccbf1957b01ff56a46f765.

We need some extra work to automate this process and also a friendly way
to register assemblies in the GAC.

* Add NETFX to dot-net.txt

* Link changelog addition to table in config.md

2nd round with changelog text

* Move MapToFolder to Build.Steps.cs

* Restore skip assemblies and prefixes if redirection is off

* Simplify auto generated redirection source file

* Shorten the env var used to control netfx redirection
2022-12-21 19:13:08 +00:00
Dawid Szmigielski 7217f67d5c
WCF instrumentation on .NET Framework (#1821)
* Remove reference to System.ServiceModel.Primitives in wcf framework test application

* Change required assembly for WCF initialization to System.ServiceModel

* Update documentation

* Change required assembly for .NET Core

* Change TargetFramework back to TargetFrameworks
2022-12-14 06:37:42 -08:00
Piotr Kiełkowicz 0cd32f8553
[Instrumentation.GraphQL] Span kind based on the parent span context (#1729)
* [Instrumentation.GraphQL] Span kind based on the parent span context.

* dotnet-format --folder

* revert csproj

* simplify conditional compilation

* Fix activity kind

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-13 18:08:52 +00:00
Piotr Kiełkowicz 1b2dd22eaf
Bump OTel 1.4.0-rc.1 (#1748)
* Bump OTel to 1.4.0-rc.1

* ConfigureResource api was removed in https://github.com/open-telemetry/opentelemetry-dotnet/pull/3999

* Update limits based on
https://github.com/open-telemetry/opentelemetry-dotnet/pull/3978

* Fix build structure
OpenTelemetry references OpenTelemetry.Extensions.DependencyInjection package

* Fix ModuleTests

* Handle AspNetCore metrics changes
2022-12-13 07:19:04 -08:00
dependabot[bot] 0e25f0beb0
Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /test/test-applications/integrations/TestApplication.Modules (#1735)
Bump Newtonsoft.Json

Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 10:52:35 +01:00
Piotr Kiełkowicz 6e69ae298e
Add Initializing plugin extensions point (#1705) 2022-12-06 10:20:54 +01:00
Piotr Kiełkowicz 7b63b6da12
Nullable in TestApplications (#1712)
Nullable test apps
2022-12-05 13:09:51 -08:00
Piotr Kiełkowicz 2a81d693ca
Enable Nullable - part 1 (#1710)
Enable Nullable by default
2022-12-05 12:02:13 -08:00
Rasmus Kuusmann 0b0aeec5af
Fix .NET Framework tests (#1698) 2022-11-30 17:53:12 +01:00
Piotr Kiełkowicz 617081bbd0
Separate extension points for signal options (#1689) 2022-11-29 15:16:03 +01:00
Robert Pająk 43daa27582
Cleanup TestApplication.MongoDB (#1676) 2022-11-25 17:26:32 +01: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
Piotr Kiełkowicz c647db15fe
Drop Newtonsoft.Json from TestApplication.AspNet (#1669) 2022-11-24 13:52:30 +00:00
Piotr Kiełkowicz d8d8332f63
Remove framework version from distribution structure (#1661) 2022-11-24 11:37:00 +00:00
Robert Pająk d2992b09ef
Bump Microsoft.Data.SqlClient to 1.1.4 (#1657) 2022-11-24 09:55:11 +01:00
Rasmus Kuusmann 189be5aefe
Reintroduce System.Data.SqlClient trace instrumentation (#1650) 2022-11-23 17:17:19 +00:00
Rasmus Kuusmann 42f8eff961
Make HttpClient instrumentation lazy (#1628) 2022-11-18 11:34:35 +01:00
Piotr Kiełkowicz 9ddba05e62
Remove support for OTEL_DOTNET_AUTO_INCLUDE_PROCESSES (#1619) 2022-11-15 10:36:59 +00:00
Piotr Kiełkowicz 1ceac49732
Support for .NET 7 (#1617) 2022-11-15 09:30:23 +00:00
Dawid Szmigielski 6e063eed07
Fix WCF server test app (#1607) 2022-11-10 14:21:41 +00:00
Piotr Kiełkowicz 5782c35eb2
Drop .NET Core 3.1 support (#1603) 2022-11-10 08:38:11 +00:00
Rasmus Kuusmann 79ff7dc750
Support options change in plugins (#1542) 2022-11-08 08:55:56 +00:00
Rasmus Kuusmann 377abcf53c
Fixes RuntimeInformation for .NET 4.6.2 ASP.NET test app (#1531) 2022-11-02 13:41:30 +01:00
Paulo Janotti 63a5236970
Log error if missing bytecode instrumentation method (#1520) 2022-11-02 08:58:07 +01:00
Rasmus Kuusmann 17f831f1b9
Verify loaded managed modules (#1515) 2022-10-31 15:22:24 +00:00
Paulo Janotti b1dc33c19e
Handle missing bytecode instrumentation (#1500)
* Avoid crash if bytecode instrumentation type is missing

* Renoved file created by VS

* Update changelog

* Minor clean-up on cor_profiler.cpp

* Fix implicit conversion of NULL const to mdToken

* Fix HResultStr helper on non-Windows
2022-10-27 16:23:13 -07:00
Robert Pająk f956dfdc4e
Refactor setting TargetFrameworks (#1488) 2022-10-24 10:22:39 +00:00
Robert Pająk 3b6643476d
AspNetTests: use MockSpansCollector instead of LegacyMockZipkinCollector (#1440) 2022-10-18 15:50:04 +02:00
Piotr Kiełkowicz f48cad8005
TestApplication.MongoDB - support for MongoDB.Driver 2.18.0+ (#1438) 2022-10-18 06:37:35 +00:00
Piotr Kiełkowicz eae60012f0
MassTransit 8.0+ tracing instrumentation (#1412) 2022-10-13 10:03:34 +02:00
dependabot[bot] 78e649bf92
Bump MongoDB.Driver.Core.Extensions.DiagnosticSources from 1.1.0 to 1.2.0 in /src/OpenTelemetry.AutoInstrumentation.AdditionalDeps (#1320)
* Bump MongoDB.Driver.Core.Extensions.DiagnosticSources

Bumps [MongoDB.Driver.Core.Extensions.DiagnosticSources](https://github.com/jbogard/MongoDB.Driver.Core.Extensions.DiagnosticSources) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/jbogard/MongoDB.Driver.Core.Extensions.DiagnosticSources/releases)
- [Commits](https://github.com/jbogard/MongoDB.Driver.Core.Extensions.DiagnosticSources/compare/1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: MongoDB.Driver.Core.Extensions.DiagnosticSources
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update golden files

* Bump MongoDB.Driver in test application

* update documentation and changelog

* cleanup leftovers for MongoDB 2.7

* update instrumentation definition

* cleanup AdditionalDeps/runtime folder

* Copy Native dependencies to Store

* pr feedback revert if

* pr feedback - switch method to pattern matching

* pr feedback - remove redundant ifs

* Update CHANGELOG.md

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

* fix code formating - double empty lines

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-10-07 12:00:44 -07:00
Robert Pająk 15a3bfbc30
Fix "Failed to bind to address" (#1370) 2022-10-06 00:27:47 +02:00
Robert Pająk ce3a5b1990
Fix WriteSplashScreen output (#1319) 2022-09-30 11:32:28 +00:00
Rajkumar Rangaraj 31adafea2f
Fix ILogger instrumentation for non-host console app (#1300) 2022-09-29 17:40:53 +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
Paulo Janotti 787243c383
Do not load autoinstrumentation assembly on splashscreen (#1253) 2022-09-21 19:57:11 +00:00
Rasmus Kuusmann fac86e25b6
Update GraphQL semantics (#1222)
* update graphql semantics

* Cleanup tags

* fix query bug

* fix WebServerSpanExpectation

* remove unnecessary library name expectation

* fix span library expectation for net462

* remove env and version

* Update test/IntegrationTests/Helpers/Models/SpanExpectation.cs

* refactor

* remove obsolete http requests

* PR feedback

Co-authored-by: Zach Montoya <zach.montoya@datadoghq.com>

* Update CHANGELOG.md

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Zach Montoya <zach.montoya@datadoghq.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-09-21 11:32:15 -07:00
Paulo Janotti 5b3fb8c252
Add test to ensure domain-neutral is working (#1234)
* Add test to ensure domain-neutral is working

* dotnet format fix for Command.cs

* Remove sleep on the test

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2022-09-21 09:23:50 +00:00
Piotr Kiełkowicz d4be5903f1
Prometheus.Tests - log test app output (#1239) 2022-09-19 11:53:19 +00:00
Piotr Kiełkowicz 27c29a4cd6
Use TargetFrameworks instead of TargetFramework (#1238)
this property is defined in Integrations.props

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-09-16 09:47:43 -07:00
Piotr Kiełkowicz 7074a03a29
Stabilize Smoke and Plugins tests (#1233) 2022-09-15 14:17:00 +02: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
Dawid Szmigielski 4240d19670
Add WCF instrumentation (#1125) 2022-09-13 11:58:24 +02:00
Piotr Kiełkowicz 24f151de04
Bump OTel Core Components to 1.3.1 (#1182) 2022-09-08 09:08:50 -07:00