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
Robert Pająk
d05630fa57
Prometheus exporter is not stable on Linux and macOS ( #1369 )
2022-10-05 23:42:40 +00:00
Paulo Janotti
f234f76b51
Reduce smoke tests duration ( #1355 )
2022-10-04 08:00:23 +02:00
Piotr Kiełkowicz
96638cd6f5
Replace span.kind tag by ActivityKind ( #1321 )
2022-10-03 09:22:12 +02:00
Rajkumar Rangaraj
31adafea2f
Fix ILogger instrumentation for non-host console app ( #1300 )
2022-09-29 17:40:53 +00:00
Chris Ventura
bc0b36847f
Add telemetry.* attributes to resource ( #1274 )
2022-09-28 08:57:36 +00:00
Robert Pająk
4636af2267
MockMetricsCollector can assert resource attributes ( #1280 )
2022-09-28 02:53:07 +02:00
Robert Pająk
ad16e9c11e
Refine MockMetricsCollector and metrics tests ( #1276 )
...
* Refine MockMetricsCollector and metrics tests
* Add missing metrics expectation in AspNetTests
* Fix checking InstrumentationScopeName
* Remove space
* Fix AssertExpectations and cleanup
* Fix missingExpectations loop
* Do not expect OpenTelemetry.Instrumentation.Http in AspNetTests
* Refine AssertExpectations in MockMetricsCollector
* Refine looping logic in AssertExpectations
* Fix race condition
* Better comment
2022-09-26 16:51:09 -07:00
Piotr Kiełkowicz
cadccf4e57
Prometheus exporter cache duration set to 300ms ( #1271 )
...
* Prometheus exporter cache duration set to 300ms
it is backport from OTel SDK 1.4.0
* PR feedback
2022-09-23 18:37:46 +00:00
Piotr Kiełkowicz
c5527e4533
Ensure that mock collectors are available ( #1270 )
...
* Healthzz for MockZipkinCollector
* Healthzz for MockMetricCollector
* Healthzz for MockLogsCollector
* Extract HealthZ handler to common class
2022-09-23 11:01:19 -07:00
Robert Pająk
2072410667
Increase timeout in tests ( #1263 )
2022-09-22 17:51:41 +00:00
Robert Pająk
554c0c09b2
Fix race condition in mock collectors ( #1254 )
...
* Fix race condition in mock collectors
* Add missing lines
* Fix build
* Revert one little change
* Remove usage of timeout when calling WaitFor
* Same as before
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-09-21 19:41:53 +00:00
Robert Pająk
0e90c16ebd
Stabilize PrometheusExporter test ( #1259 )
2022-09-21 19:27:51 +00:00
Rasmus Kuusmann
fac86e25b6
Update GraphQL semantics ( #1222 )
...
* update graphql semantics
* Cleanup tags
* fix query bug
* fix WebServerSpanExpectation
* remove unnecessary library name expectation
* fix span library expectation for net462
* remove env and version
* Update test/IntegrationTests/Helpers/Models/SpanExpectation.cs
* refactor
* remove obsolete http requests
* PR feedback
Co-authored-by: Zach Montoya <zach.montoya@datadoghq.com>
* Update CHANGELOG.md
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Zach Montoya <zach.montoya@datadoghq.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-09-21 11:32:15 -07:00
Piotr Kiełkowicz
d4be5903f1
Prometheus.Tests - log test app output ( #1239 )
2022-09-19 11:53:19 +00:00
Rasmus Kuusmann
c3ab169955
Change mock agent to async ( #1147 )
2022-09-12 09:44:38 +00:00
Piotr Kiełkowicz
137926eb4e
Bump OTLP proto files to v0.19.0 ( #1065 )
...
https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v0.19.0
2022-08-05 11:04:58 -07:00
Robert Pająk
376e83bc4d
Stabilize SmokeTests.PrometheusExporter ( #1000 )
2022-07-27 19:18:17 +00:00
Robert Pająk
b413fde253
Add Prometheus exporter integration test ( #918 )
...
* Add Prometheus exporter integration test
* Refactor
2022-07-05 09:21:13 -07:00
Robert Pająk
77998bde98
Add PluginsTests ( #910 )
...
* Add PluginsTests
* Refactor RunTestApplicationAndWaitForExit
* Refactor MockZipkinCollector
* Refactor MockCollector
* Update test/IntegrationTests/Helpers/TestHelper.cs
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
* Update PluginsTests.cs
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-07-01 11:53:02 -07:00
Rajkumar Rangaraj
243025eb8f
Manual metrics test ( #898 )
2022-06-29 22:33:26 +02:00
Robert Pająk
f94589b41c
Add SmokeTests.ApplicationIsIncluded ( #905 )
...
* Add ApplicationIsIncluded test
* Rename AssertExpectationsMet to AssertSpanExpectations
* Refactor
* Refactor
* Refactor
* Rename TestApplication.StartupHook to TestApplication.Smoke
* Fix SmokeTests
2022-06-29 09:41:38 -07:00