Commit Graph

71 Commits

Author SHA1 Message Date
Piotr Kiełkowicz 3cb1bdf6a5
[Continuous Profiler] Include resources in OTLP protocol (#3995) 2025-01-31 06:59:22 +00:00
Piotr Kiełkowicz e0a0202757
Drop reference to FluentAssertions (#3947)
* Drop reference to FluentAssertions

* PR feedback

* PR feedback - assertions for repeated executions
2025-01-17 09:24:47 -08:00
Piotr Kiełkowicz 849dd58229
Bump OTLP to 1.5.0 (#3912)
* Bump OTLP proto files to 1.5.0

* v1experimental -> v1development

* Adjust exporter to OTLP proto 1.5.0
2025-01-06 17:31:17 -08:00
Piotr Kiełkowicz 723c4d0ea1
Simplify conditional compilation (#3865) 2024-12-06 19:58:34 +00:00
Piotr Kiełkowicz e205769091
.NET9 support (#3796)
* Typo fix

* Update End OF Support validation rule

* Update Min Supported framework rule

* Update code space

* CHANGELOG

* Update developing documentation

* Update documentation

* Use .NET9 in build pipeline
drops .NET7 and .NET6

* Bump LangVersion to 13

* Update SDK Version analyzer

* Compile against .NET9

drops .NET6 and .NET7

* Adjust nuke build

* Fix build tests

* Update examples documentation

* Cleanup net6 references in project files

* Fix tests

* Cleanup target frameworks for generated tests targets

* Adjust conditional compilation

* Remove legacy code from LogBuilderExtensions

* Fix dev comment

* Adjust CI to execute scripts tests against .net9

* revert demo target versions.

It should be fixed just after next release

* Centos Stream9 - install .NET9

* Fix LoggingBuilder integration for version 9.*

* drop debugger launch

* cleanup using

* sync versions in the comments

* DuckTyping - include GH item in TODO comment

* TransientDependenciesTests - update comment
2024-11-21 20:23:18 +01:00
Yevhenii Solomchenko ca2ce533c5
Drop support for OTEL_DOTNET_AUTO_[SIGNAL]_CONSOLE_EXPORTER_ENABLED env. vars. (#3681)
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-10-01 06:52:29 +00:00
Yevhenii Solomchenko b48a9e8fa7
Bump OpenTelemetry.Resources.OperatingSystem to 0.1.0-alpha.4 (#3623) 2024-09-09 16:14:02 +00:00
Yevhenii Solomchenko 8b1bf12b72
Bump OpenTelemetry.Resources.OperatingSystem to 0.1.0-alpha.3/OpenTelemetry.Resources.Host to 0.1.0-beta.3 (#3597) 2024-09-05 07:11:38 +02:00
Yevhenii Solomchenko 9d7866a548
Exporter selection env vars to handle comma separated list (#3523) 2024-07-24 11:53:17 +00:00
Yevhenii Solomchenko 39d1068487
Add Operating System resource detector (#3510) 2024-07-22 10:54:21 +02:00
Piotr Kiełkowicz 08402fdb24
Drop support for macOs 11 (#3464) 2024-06-20 08:50:04 +02:00
Rasmus Kuusmann 2e3dd70599
Fix logs paths and filenames (#3348) 2024-04-02 10:27:22 +00:00
Piotr Kiełkowicz b5eed495a7
Resource detectors: Process and Host (#3195) 2023-12-21 13:27:34 +01:00
Piotr Kiełkowicz 8516612166
Simplify copyright disclaimer (#3181) 2023-12-08 09:41:25 +01:00
Piotr Kiełkowicz 7ce4e8b8d0
Process Runtime resource detector (#3172) 2023-12-04 18:40:29 +00:00
Piotr Kiełkowicz 938d1b021d
Support for .NET 8 (#2996)
Co-authored-by: Andrew Lock <andrew.lock@datadoghq.com>
2023-11-16 06:34:31 +01:00
Piotr Kiełkowicz 220f331061
telemetry.distro.name and telemetry.distro.version (#3006) 2023-10-12 13:29:36 -07:00
Mateusz Łach f87d29c74c
Log-trace correlation smoke test (#2937)
* log-trace correlation smoke test

* cleanup

---------

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-09-11 19:21:23 +00:00
Rasmus Kuusmann 8ac6bd0706
Refactor logging tests related to sensitive env. vars. (#2892)
refactor based on feedback
2023-08-30 11:17:37 -07:00
Rasmus Kuusmann 1cc06d6cb8
Verify internal logs contain no secrets (#2888) 2023-08-29 19:38:27 +02:00
Paulo Janotti 62437fc58b
Add smoke test to cover exclude process when CLR profiler is disabled (#2810)
Add smoke test to cover exclude process
2023-08-08 22:09:34 +00:00
Piotr Kiełkowicz 53c11b2b7e
Versioning based on release tag (#2772) 2023-07-27 05:19:30 +00:00
Rasmus Kuusmann 107e9314e0
Make OTEL_DOTNET_AUTO_EXCLUDE_PROCESSES consistent (#2765) 2023-07-24 18:48:03 +00:00
Piotr Kiełkowicz c69c690e74
Bump OTel packages to v1.5.0 (#2633)
* Bump OpenTelemetry from 1.4.0 to 1.5.0

Bumps [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.4.0...core-1.5.0)

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

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

* Bump OpenTelemetry.Api from 1.4.0 to 1.5.0

Bumps [OpenTelemetry.Api](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.4.0...core-1.5.0)

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

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

* Bump OpenTelemetry.Extensions.Propagators from 1.4.0 to 1.5.0

Bumps [OpenTelemetry.Extensions.Propagators](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.4.0...core-1.5.0)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Extensions.Propagators
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.4.0 to 1.5.0

Bumps [OpenTelemetry.Exporter.OpenTelemetryProtocol](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.4.0...core-1.5.0)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Exporter.OpenTelemetryProtocol
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump OpenTelemetry.Exporter.Zipkin from 1.4.0 to 1.5.0

Bumps [OpenTelemetry.Exporter.Zipkin](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.4.0...core-1.5.0)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Exporter.Zipkin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump OpenTelemetry.Exporter.Console from 1.4.0 to 1.5.0

Bumps [OpenTelemetry.Exporter.Console](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.4.0...core-1.5.0)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Exporter.Console
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump OpenTelemetry.Instrumentation.Runtime from 1.4.0 to 1.5.0

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

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

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

* Bump OpenTelemetry.Instrumentation.AspNet

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

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

* Bump OpenTelemetry.Instrumentation.StackExchangeRedis

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

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

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

* Bump OpenTelemetry.Instrumentation.Wcf from 1.0.0-rc.9 to 1.0.0-rc.10

Bumps [OpenTelemetry.Instrumentation.Wcf](https://github.com/open-telemetry/opentelemetry-dotnet-contrib) from 1.0.0-rc.9 to 1.0.0-rc.10.
- [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.9...Instrumentation.Wcf-1.0.0-rc.10)

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

* Bump OpenTelemetry.ResourceDetectors.Container

Bumps [OpenTelemetry.ResourceDetectors.Container](https://github.com/open-telemetry/opentelemetry-dotnet-contrib) from 1.0.0-beta.3 to 1.0.0-beta.4.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/compare/Extensions-1.0.0-beta.3...Extensions-1.0.0-beta.4)

---
updated-dependencies:
- dependency-name: OpenTelemetry.ResourceDetectors.Container
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump OpenTelemetry.Instrumentation.EntityFrameworkCore

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

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

* Bump OpenTelemetry.Instrumentation.Quartz

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

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

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

* Bump OpenTelemetry.Instrumentation.MySqlData

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

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

* Bump OpenTelemetry.Instrumentation.Process

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

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

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

* Update packages without dependabot PRs

* assembly redirection

* Update plugin documentation

* Update changelog

* Update documentation after OTel bump

* Update expected telemetry.sdk.version value
https://github.com/open-telemetry/opentelemetry-dotnet/pull/4375

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 20:17:57 +02:00
Piotr Kiełkowicz 6556fb4774
FailFast - configuration (#2532) 2023-05-17 05:38:29 +00:00
Piotr Kiełkowicz 6071180157
Support OTEL_DOTNET_AUTO_FAIL_FAST_ENABLED in native code (#2527) 2023-05-15 05:52:30 +00:00
Piotr Kiełkowicz a290429994
Support OTEL_DOTNET_AUTO_FAIL_FAST_ENABLED for StartupHook (#2524)
* Documentation

* StartupHook - FailFast

* Remove unused const

* Typo fix

* Smoke test for FastFail

* Add test for FailFast disabled

* better documentation

* typo fix
2023-05-10 12:05:08 -07:00
Piotr Kiełkowicz 689bbb4f76
Cleanup usings (#2191) 2023-02-13 09:36:00 +00:00
Piotr Kiełkowicz f857312cf9
Standardize conditional compilation (#2143) 2023-02-02 10:22:49 +00:00
Piotr Kiełkowicz 9dedd85aea
Split ASP.NET and ASP.NET Core instrumentation id (#2142) 2023-02-02 09:14:37 +00:00
Piotr Kiełkowicz fc205e349b
Env var instrumentation - uppercase id (#2141) 2023-02-02 09:21:54 +01:00
Piotr Kiełkowicz 740b802101
Env var instrumentation improvements (#2088) 2023-02-01 20:42:10 +01:00
Robert Pająk 39868fd0d6
Support configuration via app/web.config (#2066) 2023-01-23 22:12:30 +01:00
Robert Pająk 75fa18eb76
Add tests for configuration via app/web.config (#2014) 2023-01-23 09:32:42 +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 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
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
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 0435633468
Introduce common timeouts in integration tests (#1631) 2022-11-17 12:51:41 +00:00
Biroj Nayak 4bb625e8b0
Add tests for enabling and disabling instrumentations (#1613) 2022-11-16 17:32:55 +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 5782c35eb2
Drop .NET Core 3.1 support (#1603) 2022-11-10 08:38:11 +00:00
Robert Pająk 3656f610bc
Refactor TestHttpServer and fix HttpListener leakage (#1545) 2022-11-08 11:21:22 +00:00
Robert Pająk 43c5e26497
Add TestHelper.EnableBytecodeInstrumentation (#1544) 2022-11-08 11:30:45 +01:00
Robert Pająk c587f56bc5
Refine tests to reduce usage of optional args and optimize defaults (#1543) 2022-11-08 08:29:15 +01:00
Piotr Kiełkowicz b4a4120bbd
Enable/disable log instrumentations (#1475)
* Introduce instrumentation types

* extend generator

* support for disabling logs bytecode integrations

* update documentation

* change LoggingBuilder instrumentation name to ILogger

* Support managing log instrumentation in managed code

* update changelog

* PR feedback - config

* add LogsNoneInstrumentations test

Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-10-21 13:31:53 -07:00
Robert Pająk e8bcd8d01e
Replace LegacyMockZipkinCollector with MockSpansCollector (#1471) 2022-10-20 14:20:37 +02:00
Robert Pająk c4168ec632
Add MockZipkinCollector and Zipkin exporter smoke test (#1439) 2022-10-18 11:17:38 +02:00
Robert Pająk 4e8fff6ba6
Rename MockZipkinCollector to LegacyMockZipkinCollector (#1428) 2022-10-17 14:56:24 +03:00
Robert Pająk fa6c733c6f
Add "telemetry" resources for logs (#1419) 2022-10-17 10:55:10 +02:00