Commit Graph

41 Commits

Author SHA1 Message Date
Rajkumar Rangaraj 45308c4d38
Release 1.0.2 (#2981) 2023-09-27 07:30:20 -07:00
Piotr Kiełkowicz 0cefd790de
Release 1.0.1 (#2971) 2023-09-21 11:32:21 +02:00
Paulo Janotti 443479b566
Disable optional rules by default on the NuGet package scripts (#2958)
* Disable optional rules by default on NuGet package

* Delay allocation of optional rules

* Return to previous dependency injection pattern

* Fix botched merge

* Add Lazy and method to create optional rules

---------

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2023-09-15 17:49:10 +00:00
Piotr Kiełkowicz fe3bbd3968
Add README.md files to nuget packages (#2807)
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-08-08 21:08:09 +00:00
Piotr Kiełkowicz f74b933663
Reproducible builds (#2812)
* Reproducible builds

* Update releasing process to include snupkg
2023-08-08 18:59:34 +00:00
Piotr Kiełkowicz 5581f111ba
Descriptions for nuget packages (#2806) 2023-08-07 08:59:46 +00:00
Paulo Janotti 70c784857f
Add nuget packages to release (#2695)
* Add NuGet package to release workflow

* Re-org build-nuget-package "needs"

* Allow build workflow to properly set the version suffix

* Use env. var to pass NuGet version suffix

* Change step id

* Fix NuGet version suffix for PRs.

* Pass the NuGet version suffix to test jobs

* Adjust job output per reusable workflow recommendation

* Move declaration of NuGet version suffix env var

* Set env var in a dedicated step

* Fix shell

* Update release instructions

* Make package icon consistent with SDK

* Remove unused png files

* Fix NuSpec projects after icon update

* Use nuget.org instead of dealing with api key

---------

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2023-06-23 21:16: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
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 9c1d42a80b
Avoid shortcuts in the project name (#2509) 2023-05-05 19:56:26 +00:00
Piotr Kiełkowicz 79d38c1a07
MongoDB - instrumenation for .NET Framework (#2390) 2023-04-14 07:55:04 +00: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
Piotr Kiełkowicz 10d1be5736
Container resource detectors + manage resource detectors (#2415) 2023-04-13 07:07:38 +00:00
dependabot[bot] 5d2cc25dd6
Bump OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.0.0-beta.5 to 1.0.0-beta.6 in /src (#2315)
* Bump OpenTelemetry.Instrumentation.EntityFrameworkCore in /src

Bumps [OpenTelemetry.Instrumentation.EntityFrameworkCore](https://github.com/open-telemetry/opentelemetry-dotnet-contrib) from 1.0.0-beta.5 to 1.0.0-beta.6.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/compare/Instrumentation.GrpcCore-1.0.0-beta.5...Instrumentation.MySqlData-1.0.0-beta.6)

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

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

* Update nuspec

* Update documentation

---------

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>
2023-03-14 10:24:28 +01: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
Piotr Kiełkowicz 133037f2af
Release 0.6.0 (#2270) 2023-03-01 06:16:31 +00:00
Piotr Kiełkowicz 6f347379ed
Bump OTel to 1.4.0 (#2268) 2023-02-28 07:38:44 +00:00
Piotr Kiełkowicz aefe13d877
Change Instrumentation.Process to 0.5.0-beta.1 (#2238) 2023-02-22 09:23:33 +00:00
Piotr Kiełkowicz 2e50a3b090
Release 0.6.0-beta.2 (#2205) 2023-02-15 07:00:02 +01:00
Piotr Kiełkowicz 7cb4a93f04
Bump OTel to 1.4.0-rc.4 (#2202) 2023-02-14 07:47:36 +01:00
Piotr Kiełkowicz 908504a9ae
Release 0.6.0-beta.1 (#2159) 2023-02-03 11:25:56 +01:00
xiang17 8feb82b96a
Bump OTel to 1.4.0-rc.3 (#2157) 2023-02-03 06:39:48 +01:00
Piotr Kiełkowicz c8c3544596
Distribute LICENSE file (#2099) 2023-01-30 09:42:41 +00:00
Piotr Kiełkowicz 0778bbd057
Bump OpenTelemetry.Instrumentation.EntityFrameworkCore to 1.0.0.0-beta.4 (#2080) 2023-01-25 22:37:08 -08: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
Piotr Kiełkowicz ee07b6ea2d
Add missing dependencies to nuspec definition (#2020) 2023-01-20 11:06:20 +01:00
xiang17 e8cce17b76
Bump OTel 1.4.0-rc.2 (#1967)
* Bump OTel 1.4.0-rc.2

* Bump version for `OpenTelemetry.Instrumentation.Runtime` and `OpenTelemetry.Instrumentation.Process`

* Update netfx redirection file.

* Extend changelog with standard comment for updated core packages

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-12 17:22:09 +00:00
Piotr Kiełkowicz e43f28363d
Include alpine native bin in nuget (#1905)
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-09 17:34:31 +00: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 56c0c11269
Release 0.5.1-beta.3 (#1897) 2023-01-05 07:31:22 +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
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 1ac707ee11
Release 0.5.1-beta.2 (#1733) 2022-12-08 08:52:54 +00:00
Robert Pająk 73ea6721ba
Release 0.5.1-beta.1 (#1690) 2022-11-30 09:26:11 +00:00
Robert Pająk 773dce6bda
Release 0.5.0 (#1649)
* Update releasing

* Add ASPNETCORE_HOSTINGSTARTUPASSEMBLIES to envvars.sh

* Fix plugin publish in examples
2022-11-24 14:26:23 +01:00
Piotr Kiełkowicz d8d8332f63
Remove framework version from distribution structure (#1661) 2022-11-24 11:37:00 +00:00
Piotr Kiełkowicz 5782c35eb2
Drop .NET Core 3.1 support (#1603) 2022-11-10 08:38:11 +00:00
Robert Pająk d02b9ccd23
Release 0.4.0-beta.1 (#1506) 2022-10-27 09:03:13 +02:00
Rajkumar Rangaraj 5c746e4c0a
OpenTelemetry.AutoInstrumentation NuGet package (#1368)
* Create Nuget package

* Update changelog

* Move nowarn message to Directory.Build.props

* PR feedback.

* testyaml

* Move to workflow

* Move from nuke to workflow.

* Remove test work

* Fix releasing doc

* PR feedback

* Nuspec changes

* PR feedback
2022-10-13 12:05:06 -07:00