Commit Graph

780 Commits

Author SHA1 Message Date
Piotr Kiełkowicz b51a767c8a
Drop support for Jaeger exporter (#1896) 2023-01-04 16:26:15 -08:00
Piotr Kiełkowicz 5284642ae1
Add Elasticsearch traces instrumentations (#1890) 2023-01-04 11:24:53 +00:00
Dawid Szmigielski 240d503fc6
Replace current with STS in build scripts (#1891) 2023-01-04 12:00:47 +01:00
Piotr Kiełkowicz b27b90bb42
Get rid of wrapper.action in bytecode instrumentation (#1889) 2023-01-04 11:14:56 +01:00
Robert Pająk be4adec4bd
Add Grafana and Loki to demo (#1882)
* Add Grafana and Loki to demo

* Refine docs

* Fix possible socket exhaustion

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-04 03:01:30 +00:00
Robert Pająk 1aa9403c7d
Install netfx dlls into GAC (#1884)
* Install netfx dlls into GAC

* Better output (silent)

* Fix the bad path

Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
2023-01-03 14:58:12 -08: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
Vasi Vasireddy 97d6437463
Update the usage of set-output commmand in GH workflows (#1880) 2023-01-03 08:09:34 +00:00
Robert Pająk 345beca02a
Add AspNetCoreMvc as playground example (#1877) 2023-01-02 16:05:12 +01:00
dependabot[bot] 683ea5b766
Bump cspell-cli from 6.17.0 to 6.17.1 (#1878)
Bumps [cspell-cli](https://github.com/streetsidesoftware/cspell-cli) from 6.17.0 to 6.17.1.
- [Release notes](https://github.com/streetsidesoftware/cspell-cli/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell-cli/compare/v6.17.0...v6.17.1)

---
updated-dependencies:
- dependency-name: cspell-cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-30 16:52:21 +00:00
dependabot[bot] f9ecfefc0e
Bump Moq from 4.18.3 to 4.18.4 in /test (#1879)
Bumps [Moq](https://github.com/moq/moq4) from 4.18.3 to 4.18.4.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.18.3...v4.18.4)

---
updated-dependencies:
- dependency-name: Moq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-30 17:22:09 +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
dependabot[bot] a23aa5910c
Bump cspell-cli from 6.16.0 to 6.17.0 (#1867)
Bumps [cspell-cli](https://github.com/streetsidesoftware/cspell-cli) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/streetsidesoftware/cspell-cli/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell-cli/compare/v6.16.0...v6.17.0)

---
updated-dependencies:
- dependency-name: cspell-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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-23 17:11:43 -08:00
Piotr Kiełkowicz 46896a72ef
Enable nullable for main project (#1861)
* nullable

* nullable util

* nullable Tagging

* nullable logging

* nullable loading

* nullable configuration

* nullable CallTarget

* nullable calltarget-handlers-continuation

* nullable calltarget handlers

* fix tests

* leftovers

* cleanup #nullable enable

* update publicapi

* nullable AutoInstrumentation.Tests

* IntegrationsJsonGenerator

* dotnet format

* pr feedback

* pr feedback - plugin manager

* pr feedback StackExchangeRedisInitializer

* pr feedback - attributes names for instrument method

* PR feedback stack exchange Redis part 2

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-21 20:45:28 +00:00
Piotr Kiełkowicz 07dbe0e28e
Bump .NET source files to 7.0.0 (#1859)
* Bump CoreCLR source to 7.0.0

* corhlpr.cpp use assert only in DEBUG

* pal/sal.h fix linux compilation

* Update readme after upgrade

* md lint fix

* dotnet format

* rm src/*Native/lib/coreclr/src/inc/obj/i386/dummy

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-21 20:23:10 +00: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
dependabot[bot] 47a786d2a0
Bump Nuke.Common from 6.2.1 to 6.3.0 in /build (#1837)
* Bump Nuke.Common from 6.2.1 to 6.3.0 in /build

Bumps [Nuke.Common](https://github.com/nuke-build/nuke) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/nuke-build/nuke/releases)
- [Changelog](https://github.com/nuke-build/nuke/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/nuke-build/nuke/compare/6.2.1...6.3.0)

---
updated-dependencies:
- dependency-name: Nuke.Common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump nuke.globaltool to 6.3.0

* Nuke breaking change - now we can have only one OnlyWhen condition

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>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-20 09:54:28 -08:00
dependabot[bot] eab97a0343
Bump Verify.Xunit from 19.3.0 to 19.5.0 in /test/IntegrationTests (#1831)
Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 19.3.0 to 19.5.0.
- [Release notes](https://github.com/VerifyTests/Verify/releases)
- [Commits](https://github.com/VerifyTests/Verify/compare/19.3.0...19.5.0)

---
updated-dependencies:
- dependency-name: Verify.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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-20 08:36:11 -08: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 9334220e08
Fix dependabot config for build folder (#1830)
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-19 18:30:06 +00:00
Piotr Kiełkowicz ce878987fa
Remove transitive dependencies from MySql and Redis packages (#1829)
Remove tranistive dependencies from MySql and Redis packages
2022-12-19 09:54:22 -08:00
dependabot[bot] 2d49ab1f56
Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 in /test (#1826)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.0...v17.4.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-16 17:51:26 +00:00
dependabot[bot] ef0d3842cf
Bump Google.Protobuf from 3.21.11 to 3.21.12 in /test/IntegrationTests (#1827)
Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.21.11 to 3.21.12.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12)

---
updated-dependencies:
- dependency-name: Google.Protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-12-16 17:27:00 +00:00
Rasmus Kuusmann 948cd89eb0
Bump fmt to 9.1.0 (#1822)
* bump fmt to 9.1.0

* update windows fmt & spdlog

* fix fmt install type (static)

* Add native dependencies doc

* separate spdlog inclusions
2022-12-16 09:03:19 -08: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
dependabot[bot] 2cc43d488d
Bump actions/checkout from 3.1.0 to 3.2.0 (#1749)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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-13 17:39:30 +00:00
dependabot[bot] 0e11974216
Bump Testcontainers from 2.2.0 to 2.3.0 in /test/IntegrationTests (#1745)
Bumps [Testcontainers](https://github.com/testcontainers/testcontainers-dotnet) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/testcontainers/testcontainers-dotnet/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-dotnet/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-dotnet/compare/2.2.0...2.3.0)

---
updated-dependencies:
- dependency-name: Testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2022-12-13 16:15:20 +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
Rajkumar Rangaraj 848392c5a4
Sync Nuget Specification packages (#1746)
* Sync Nuget Specification packages.

* fix slash format

* V -> v
2022-12-12 11:56:20 -08:00
Piotr Kiełkowicz 864d3bdd30
Plugins - add support for StackExchangeRedisCallsInstrumentationOptions (#1743) 2022-12-09 11:04:49 -08:00
Dawid Szmigielski 5eefd0d379
Fix release publish GH workflow warnings (#1740) 2022-12-09 10:03:39 +00:00
Piotr Kiełkowicz e235ad231f
Bump re2 to 2022-12-01 (#1739) 2022-12-09 10:06:08 +01:00
dependabot[bot] cecf8a73d3
Bump Google.Protobuf from 3.21.10 to 3.21.11 in /test/IntegrationTests (#1737)
Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.21.10 to 3.21.11.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11)

---
updated-dependencies:
- dependency-name: Google.Protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 15:25:07 +01:00
Robert Pająk 347a2f6b51
Recommend C/C++ Extension Pack VS Code extension (#1734) 2022-12-08 11:56:51 +00:00
Piotr Kiełkowicz fd4f121bf0
Examples - missing file headers (#1732) 2022-12-08 11:18:49 +00:00
Dawid Szmigielski 2929ecce2b
Automate creating of the release draft (#1736) 2022-12-08 11:54:31 +01: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 1ac707ee11
Release 0.5.1-beta.2 (#1733) 2022-12-08 08:52:54 +00:00
Zach Montoya 0d368401a3
Reduce public API of OpenTelemetry.AutoInstrumentation (#1731)
* Reduce public APi of OpenTelemetry.AutoInstrumentation by making bytecode integration types internal. The only remaining public API are types and methods used for the CallTarget instrumentation that is written inside instrumented methods

* Re-add the bytecode instrumentation types to the public API, which is required for CallTarget instrumentation to function properly
2022-12-08 09:05:55 +01:00
Robert Pająk 358034be08
Update development environment (#1720)
* Update development environment docs

* Add .NET 7.0 SDK

* Fix docs lint

* Increase sleep - SQL Server often needs more time

* set -ex

* Update developing.md

* Update developing.md

* Update developing.md

* Update developing.md

* Update developing.md

* Update codespaces-init.sh

* Update developing.md

Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
2022-12-07 22:49:12 +00:00
Rajkumar Rangaraj 0470ad47eb
Validate OpenTelemetry SDK version in StartupHook (#1692)
* Add check for existing OpenTelemetry SDK.

* PR feedback

* fix nullable issues

* PR feedback

* Variable rename.

* not equal

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2022-12-07 21:56:45 +00:00
Piotr Kiełkowicz 000bec3318
Fix solution file (#1730)
after changes in examples
2022-12-07 21:20:16 +00:00
Zach Montoya 1f72ee2f2f
Enable nullable reference types for duck types (#1725)
* Add nullable references for DuckTyping library

* Mark some DuckTyping types internal so we can remove them from the public API  (and avoid having to annotate them as nullable in the PublicAPI txt files)
2022-12-07 20:23:57 +00:00
Rasmus Kuusmann 27e41c676e
Fix configuration sources (#1724) 2022-12-07 20:48:58 +01:00
Robert Pająk 4096276663
Make OTEL_TRACES_SAMPLER_ARG parsing locale invariant (#1722) 2022-12-07 17:48:08 +01:00
dependabot[bot] 47806aca4f
Bump Grpc.Tools from 2.50.0 to 2.51.0 in /test/IntegrationTests (#1721)
Bumps [Grpc.Tools](https://github.com/grpc/grpc) from 2.50.0 to 2.51.0.
- [Release notes](https://github.com/grpc/grpc/releases)
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md)
- [Commits](https://github.com/grpc/grpc/commits)

---
updated-dependencies:
- dependency-name: Grpc.Tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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-07 13:50:11 +01:00