Commit Graph

49 Commits

Author SHA1 Message Date
xiang17 a36ba28e55
Manage dependencies with Central Package Management (#2004) 2023-01-23 11:46:12 +00:00
Dawid Szmigielski c09c04b959
Add logger to startup (#1983)
* Move Logging to separate project

* Add logging to file to AspNetCoreBootstrapper and StartupHook

* Revert csproj

* Revert changes

* Apply changes

* Add target frameworks

* Fix verified files

* Move snk file

* Rename Log method

* Add error logging on exception while loading logger library

* Fix snk path

* Fix snk path

* Rename ILogger to IOtelLogger

* Update releasing.md

* Update releasing.md

* Move logging logic to shared files

* Move snk

* Change logging order

* Move logger back to OpenTelemetry.AutoInstrumentation

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-20 22:18:06 +00: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
dependabot[bot] 6d0cef5385
Bump OpenTelemetry.Instrumentation.MySqlData from 1.0.0-beta.4 to 1.0.0-beta.5 in /src/OpenTelemetry.AutoInstrumentation (#2015)
Bump OpenTelemetry.Instrumentation.MySqlData

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

---
updated-dependencies:
- dependency-name: OpenTelemetry.Instrumentation.MySqlData
  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>
2023-01-19 19:55:55 +00: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
Rasmus Kuusmann dd79e41efc
Enable implicit usings (#1966)
* use implicit usings

* enable implicit usings for nuke project

* fixes
2023-01-10 10:03:46 -08:00
Piotr Kiełkowicz b51a767c8a
Drop support for Jaeger exporter (#1896) 2023-01-04 16:26:15 -08: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 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 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
Piotr Kiełkowicz 2a81d693ca
Enable Nullable - part 1 (#1710)
Enable Nullable by default
2022-12-05 12:02:13 -08:00
Robert Pająk 73ea6721ba
Release 0.5.1-beta.1 (#1690) 2022-11-30 09:26:11 +00: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 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 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 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
Piotr Kiełkowicz e33cd49643
MySql.Data Instrumentation - support 8.0.31+ (#1420) 2022-10-18 08:08:03 +00:00
Piotr Kiełkowicz a997328b45
Process metrics (#1427) 2022-10-17 09:49:07 +02:00
dependabot[bot] 9b83d3a7f4
Bump OpenTelemetry.Instrumentation.AspNet from 1.0.0-rc9.5 to 1.0.0-rc9.6 in /src/OpenTelemetry.AutoInstrumentation (#1304)
Bump OpenTelemetry.Instrumentation.AspNet

Bumps [OpenTelemetry.Instrumentation.AspNet](https://github.com/open-telemetry/opentelemetry-dotnet-contrib) from 1.0.0-rc9.5 to 1.0.0-rc9.6.
- [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.5...Instrumentation.AspNet-1.0.0-rc9.6)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 14:36:03 +00:00
Rajkumar Rangaraj b9701ae974
Add ILogger bytecode instrumentation (#1262)
* Add logs using CLR Profiler.

* Update changelog

* PR feedback

* markdownlint

* PR feedback

* CLRAndHostingStartupTests

* doc update.

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-09-27 12:54:25 -07:00
Dawid Szmigielski 4240d19670
Add WCF instrumentation (#1125) 2022-09-13 11:58:24 +02:00
Paulo Janotti 6c20a738c2
Release 0.3.1-beta.1 (#1211) 2022-09-08 15:36:16 -07:00
Piotr Kiełkowicz 24f151de04
Bump OTel Core Components to 1.3.1 (#1182) 2022-09-08 09:08:50 -07:00
Piotr Kiełkowicz a3d56048bb
Make sure excluded assets are removed (#1151) 2022-09-02 18:12:06 +00:00
Piotr Kiełkowicz bc0880f91a
Move content from Core project to OpenTelemetry.AutoInstrumentation (#1128) 2022-08-26 11:55:04 -07:00
Paulo Janotti 059620bcea
Release 0.3.0 beta.1 (#1124)
* Release 0.3.0-beta.1

* Update list of files on releasing.md

* Update version in files used by build

* Update CHANGELOG.md

* Update doc link on README to v0.3.0
2022-08-24 11:57:38 -07: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
dependabot[bot] ddfdddfa50
Bump OpenTelemetry.Instrumentation.Runtime from 1.0.0-rc.3 to 1.0.0 in /test/OpenTelemetry.AutoInstrumentation.Tests (#1061)
Bump OpenTelemetry.Instrumentation.Runtime

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

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:22:31 -07:00
Piotr Kiełkowicz 773c5fb040
Grpc.Net.Client instrumentation (#1022)
* Grpc.Net.Client instrumentation

* code review feedback

Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>

Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2022-08-02 20:10:51 +00:00
Piotr Kiełkowicz 076306d06e
StackExchange.Redis instrumentation for .NET Core 3.1+ (#979)
* Cleanup conditional references

* StackExchange.Redis intrumentation

* code review feedback

* Support from 2.0.405

* GraphQL - typo fixes in defined integrations

* remove launch settings

* typo fix in tests

* cleanup file header

Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-07-28 12:06:27 -07:00
dependabot[bot] 506f3d459d
Bump OpenTelemetry.Instrumentation.Runtime from 1.0.0-rc.2 to 1.0.0-rc.3 in /src/OpenTelemetry.AutoInstrumentation (#982)
Bump OpenTelemetry.Instrumentation.Runtime

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

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 15:33:23 +02:00
Piotr Kiełkowicz 67c68aac34
MySql.Data intrumentation (.NET Core 3.1+) (#950)
* Implement LazyInstrumentationLoader

Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-07-21 07:15:00 +02:00
dependabot[bot] 3c105aebc2
Bump OpenTelemetry.Instrumentation.Runtime from 1.0.0-rc.1 to 1.0.0-rc.2 in /src/OpenTelemetry.AutoInstrumentation (#956)
Bump OpenTelemetry.Instrumentation.Runtime

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

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 04:55:25 +00:00
Robert Pająk 6229eb7589
Release 0.2.0-beta.1 (#923)
* Fix BindingRedirect example

* Update releasing process
2022-07-07 06:16:05 +00:00
Rajkumar Rangaraj 1d234b3e6b
Bump OpenTelemetry.Instrumentation.Runtime to 1.0.0-rc.1 (#920)
Bump OpenTelemetry.Instrumentation.Runtime to 1.0.0-rc.1.
2022-07-05 13:45:55 -07:00
dependabot[bot] b0e79750fc
Bump OpenTelemetry.Instrumentation.AspNet from 1.0.0-rc9.4 to 1.0.0-rc9.5 in /src/OpenTelemetry.AutoInstrumentation (#859)
Bump OpenTelemetry.Instrumentation.AspNet

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

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 13:20:32 +00:00
Rajkumar Rangaraj 74b0ecf269
Add Prometheus Exporter - HttpListener version (#846)
* AddPrometheusExporter

* Update changelog

* Update changelog
2022-06-17 11:03:34 -07:00
Piotr Kiełkowicz 8d03958d6f
Bump OpenTelemetry.Instrumentation.Runtime to 0.2.0-alpha.1 (#847)
OpenTelemetry.Instrumentation.Runtime to 0.2.0-alpha.1

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2022-06-17 09:12:39 -07:00
Piotr Kiełkowicz 44b5693b87
Bump OpenTelemetry core packages to 1.3.0 and non-core to 1.0.0-rc9.4 (#717)
* bump OpenTelemetry
core components to 1.3.0 and non-core components to 1.0.0-rc9.4

* update changelog

* Bump Microsoft.Extensions.Logging.Abstractions in MongoDB tests
The change was introduced by OTel 1.3.0-beta 1
2022-06-07 07:25:48 +02:00
Rajkumar Rangaraj fa3ed4e721
Add OpenTelemetry.Instrumentation.Runtime package (#677)
* Add OpenTelemetry.Instrumentation.Runtime package

* Wire up meter instrumentation.

* PR feedback

* Update CHANGELOG.md

Co-authored-by: Robert Pająk <pellared@hotmail.com>

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-05-20 10:51:02 -07:00
Robert Pająk d7ad144e64
Release 0.1.0-beta.1 (#575)
* Bump version from 0.0.1 to 0.1.0

* Update CHANGELOG.md

* Move reference to CONTRIBUTING.md higher

* Refine README.md

- Document InstallationLocation
- Extract - instead of install

* Update the hyperlink to The Book of the Runtime
2022-04-21 21:42:57 +00:00
Chris Ventura 947d79b3a2
Bump OTel core components to stable 1.2.0 release (#552) 2022-04-19 07:47:03 +00:00
Piotr Kiełkowicz b92c368c92
Bump otel sdk 1.2.0 rc5 (#485)
* Bump OpenTelemetry SDK to 1.2.0-rc5
non core components to 1.0.0-rc9.2

* Use default value for OTEL_DOTNET_AUTO_ADDITIONAL_SOURCES
It is no longer needed to setting it manually
2022-04-13 09:01:23 -07:00
Piotr Kiełkowicz 6e9d445a56
Bump OTel .NET SDK to 1.2.0-rc4 (#436)
and related packages to 1.0.0-rc9.1
1.0.0-rc10 was unlisted

Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-04-04 10:04:51 -07:00
Piotr Kiełkowicz 4eb53f17ef
Bump OTel .NET SDK to 1.2.0-rc3 (#400)
* bump OTEL .NET SDK
to 1.2.0-rc3 and corresponding 1.0.0-rc10

* typo fix

* correct endpouint for otlp http//protobuf exported
is handed by OTel .NET SDK

* Update config.md
based on readme changes in https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.2.0-rc2...core-1.2.0-rc3
2022-03-08 11:50:23 +01:00
Piotr Kiełkowicz ac4cfb1390
Remove .NET Framework 4.6.1 support (#377)
* drop support for .NET 4.6.1

* change runner to windows-2022

* remove file needed to set LangVersion
now 10.0 is supported by build pipeline

* bump docker file to windows 2022

* update readme

* remoe unused method (tests)

* bump mongo image to 5.0.6
it based on windows-2022

Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-02-24 12:06:35 -08:00
Piotr Kiełkowicz 10f7d80595
Rename assemblies to OpenTelemetry.AutoInstrumentation (#363)
* rename part 1

* part 2

* part 3

* part 4

* part 5

* move assemblyinfo files to properties folder

* part 6

* part 7

* part 8

* part 9

* part 10 - fixed pages

* part 11

* code review fixes

* code review fix 2
2022-02-15 11:49:09 -08:00