Commit Graph

780 Commits

Author SHA1 Message Date
Zach Montoya 90d7bec37e
Update DuckTyping types with the latest changes (#1717)
* Change the accessibility for most types in the OpenTelemetry.AutoInstrumentation.DuckTyping namespace, except for DuckType (and inner classes) and IDuckType

* Port the latest dd-trace-dotnet DuckTyping changes into this repo, after removing nullable type references
2022-12-07 11:34:41 +01:00
dependabot[bot] 339a310e47
Bump Microsoft.Extensions.Logging from 6.0.0 to 7.0.0 in /examples/Service (#1718)
Bump Microsoft.Extensions.Logging in /examples/Service

Bumps [Microsoft.Extensions.Logging](https://github.com/dotnet/runtime) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 10:49:27 +01:00
Robert Pająk 01554dc01c
Update versioning before stable (#1707) 2022-12-07 08:59:06 +00:00
Robert Pająk dd3aa0398b
Fix examples GH workflow trigger (#1719) 2022-12-07 08:25:21 +00:00
Robert Pająk d20dc008f1
Refer to published release (#1716) 2022-12-07 07:48:58 +00:00
Robert Pająk bac9c02c0a
Recreate examples (#1708) 2022-12-07 08:22:36 +01:00
Dawid Szmigielski e83cb8cd26
Change container build to test instrumentation.sh on local build (#1714) 2022-12-06 13:09:46 +00:00
dependabot[bot] ac18a01ebf
Bump cspell-cli from 6.15.0 to 6.16.0 (#1713)
Bumps [cspell-cli](https://github.com/streetsidesoftware/cspell-cli) from 6.15.0 to 6.16.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.15.0...v6.16.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-06 13:45:20 +01:00
Dawid Szmigielski 8c6ed3a496
Tests shell script with CI artifacts (#1703) 2022-12-06 13:01:47 +01:00
Piotr Kiełkowicz 6e69ae298e
Add Initializing plugin extensions point (#1705) 2022-12-06 10:20:54 +01:00
Robert Pająk 62c9b002b3
Fix docs for limit env vars (#1702) 2022-12-05 22:09:38 +00: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
dependabot[bot] ac8b2199a9
Bump Moq from 4.18.2 to 4.18.3 in /test (#1709)
Bumps [Moq](https://github.com/moq/moq4) from 4.18.2 to 4.18.3.
- [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.2...v4.18.3)

---
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-05 14:24:37 +01:00
dependabot[bot] c7781798ac
Bump Google.Protobuf from 3.21.9 to 3.21.10 in /test/IntegrationTests (#1701)
Bumps [Google.Protobuf](https://github.com/protocolbuffers/protobuf) from 3.21.9 to 3.21.10.
- [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.9...v3.21.10)

---
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-01 13:53:32 +01:00
Piotr Kiełkowicz 47a6c3ac75
Support OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG (#1696) 2022-12-01 11:38:45 +01:00
Biroj Nayak 558afab438
Add tests for OTEL_DOTNET_AUTO_*_ENABLED=false and OTEL_*_EXPORTER=none (#1693)
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-11-30 19:05:00 +01:00
Rasmus Kuusmann 0b0aeec5af
Fix .NET Framework tests (#1698) 2022-11-30 17:53:12 +01:00
Robert Pająk 73ea6721ba
Release 0.5.1-beta.1 (#1690) 2022-11-30 09:26:11 +00:00
Paulo Janotti 1b80bc4564
Update design doc: focus on load mechanism (#1682) 2022-11-30 09:42:49 +01:00
Piotr Kiełkowicz 617081bbd0
Separate extension points for signal options (#1689) 2022-11-29 15:16:03 +01:00
dependabot[bot] 3682c6acd0
Bump OpenTelemetry.Instrumentation.AspNet from 1.0.0-rc9.6 to 1.0.0-rc9.7 in /src/OpenTelemetry.AutoInstrumentation (#1684)
* Bump OpenTelemetry.Instrumentation.AspNet

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

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

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

* 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>
2022-11-29 07:10:14 +00:00
Piotr Kiełkowicz 701caaf203
Bump dependencies - examples (#1685) 2022-11-29 06:37:20 +00:00
Robert Pająk 0d0d95273e
Document newly supported env vars (#1675)
* OTEL_METRIC_EXPORT_TIMEOUT

* OTEL_BSP_*

* Fix default for OTEL_EXPORTER_JAEGER_ENDPOINT

* Bump Grpc.Net.Client in docs based on upstream configuration

* OTEL_*_LIMIT for otlp

* Add link to Prometheus Exporter HttpListener documentation

* Bump DiagnosticSource to 7.0.0 in docs
2022-11-28 14:12:37 +00:00
dependabot[bot] 4847b63066
Bump Verify.Xunit from 19.1.0 to 19.3.0 in /test/IntegrationTests (#1680)
Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 19.1.0 to 19.3.0.
- [Release notes](https://github.com/VerifyTests/Verify/releases)
- [Commits](https://github.com/VerifyTests/Verify/compare/19.1.0...19.3.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-11-28 13:04:28 +00:00
dependabot[bot] 5d1b53c101
Bump cspell-cli from 6.14.1 to 6.15.0 (#1679)
Bumps [cspell-cli](https://github.com/streetsidesoftware/cspell-cli) from 6.14.1 to 6.15.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.14.1...v6.15.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-11-28 13:40:40 +01:00
Piotr Kiełkowicz f0dd4dc1f4
Remove unused GlobalSuppressions (#1677) 2022-11-28 08:20:31 +00:00
Robert Pająk 43daa27582
Cleanup TestApplication.MongoDB (#1676) 2022-11-25 17:26:32 +01:00
Piotr Kiełkowicz d8b174a8ac
Use configure resource (#1674) 2022-11-25 11:16:04 +00:00
dependabot[bot] 1ffdd6471a
Bump System.Collections.Immutable from 6.0.0 to 7.0.0 in /test/IntegrationTests (#1588)
Bump System.Collections.Immutable in /test/IntegrationTests

Bumps [System.Collections.Immutable](https://github.com/dotnet/runtime) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits)

---
updated-dependencies:
- dependency-name: System.Collections.Immutable
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-11-25 07:34:57 +00:00
Dawid Szmigielski b00be69269
Replace our implementation of OTEL_METRIC_EXPORT_INTERVAL with the one from SDK (#1640) 2022-11-25 07:13:05 +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 a3765f6585
Update docs (#1670) 2022-11-24 14:27:49 +00:00
Piotr Kiełkowicz c647db15fe
Drop Newtonsoft.Json from TestApplication.AspNet (#1669) 2022-11-24 13:52:30 +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
dependabot[bot] 2e01fe3e1a
Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /test/IntegrationTests (#1667)
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
  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-11-24 12:38:22 +00:00
Piotr Kiełkowicz d8d8332f63
Remove framework version from distribution structure (#1661) 2022-11-24 11:37:00 +00:00
Robert Pająk 403e0adfc7
CLR profiler requires .NET 6.0 (#1664) 2022-11-24 11:04:37 +00:00
Rajkumar Rangaraj f2a725d98c
Downgrade StartupHook to netcoreapp3.1 (#1658) 2022-11-24 11:42:36 +01:00
Piotr Kiełkowicz b4a1f5b3f3
Bump nlohmann/json to 3.11.2 (non-windows) (#1663)
Windows package is already on this version.
2022-11-24 10:42:50 +01:00
Robert Pająk f9d30a598d
Remove native log prefix (#1662) 2022-11-24 09:17:08 +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
dependabot[bot] 13d72e498f
Bump StackExchange.Redis from 2.6.70 to 2.6.80 in /examples/AspNetCoreMvc (#1651)
Bump StackExchange.Redis in /examples/AspNetCoreMvc

Bumps [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis) from 2.6.70 to 2.6.80.
- [Release notes](https://github.com/StackExchange/StackExchange.Redis/releases)
- [Changelog](https://github.com/StackExchange/StackExchange.Redis/blob/main/docs/ReleaseNotes.md)
- [Commits](https://github.com/StackExchange/StackExchange.Redis/compare/2.6.70...2.6.80)

---
updated-dependencies:
- dependency-name: StackExchange.Redis
  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: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2022-11-23 17:51:40 +01:00
dependabot[bot] 8f33a9293b
Bump MongoDB.Driver.Core.Extensions.DiagnosticSources from 1.2.0 to 1.3.0 in /src/OpenTelemetry.AutoInstrumentation.AdditionalDeps (#1654)
* Bump MongoDB.Driver.Core.Extensions.DiagnosticSources

Bumps [MongoDB.Driver.Core.Extensions.DiagnosticSources](https://github.com/jbogard/MongoDB.Driver.Core.Extensions.DiagnosticSources) from 1.2.0 to 1.3.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.2.0...1.3.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>

* Fix distribution structure tests

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-11-23 16:24:41 +00:00
Robert Pająk 1e5dfda075
docs: Bump vulnerable dependencies (#1648) 2022-11-23 11:04:00 +01:00
Piotr Kiełkowicz c44723ae20
Use GITHUB_TOKEN to prevent 429 HTTP status code while checking GitHub links (#1643) 2022-11-22 14:01:33 +01:00
Robert Pająk 2bad20fcc4
Refine semantic conventions stability (#1636)
* Refine semantic Conventions stability

* Update versioning.md

* Update versioning.md

* Update versioning.md

* Update docs/versioning.md

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

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-11-21 17:04:42 +00:00
Piotr Kiełkowicz fadc76d6a9
Add support to OTEL_DOTNET_AUTO_LOGS_ENABLED (#1629) 2022-11-18 23:32:02 +00:00
Rasmus Kuusmann c890186b42
Make HttpClient metrics instrumentation lazy (#1639) 2022-11-19 00:10:46 +01:00