Commit Graph

65 Commits

Author SHA1 Message Date
Piotr Kiełkowicz b51a767c8a
Drop support for Jaeger exporter (#1896) 2023-01-04 16:26:15 -08:00
Robert Pająk be4adec4bd
Add Grafana and Loki to demo (#1882)
* Add Grafana and Loki to demo

* Refine docs

* Fix possible socket exhaustion

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-04 03:01:30 +00:00
Robert Pająk 345beca02a
Add AspNetCoreMvc as playground example (#1877) 2023-01-02 16:05:12 +01:00
Robert Pająk e9948977bb
Rename TestApplication.Wcf.Client.Core to TestApplication.Wcf.Client.DotNet (#1875)
- Rename TestApplication.Wcf.Client.Core to TestApplication.Wcf.Client.DotNet

- Remove TestApplication.Wcf.Client.Shared from .sln file

- Add launchSettings.json that is generated during build
2022-12-29 13:48:27 +00: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
Piotr Kiełkowicz fd4f121bf0
Examples - missing file headers (#1732) 2022-12-08 11:18:49 +00:00
Robert Pająk 358034be08
Update development environment (#1720)
* Update development environment docs

* Add .NET 7.0 SDK

* Fix docs lint

* Increase sleep - SQL Server often needs more time

* set -ex

* Update developing.md

* Update developing.md

* Update developing.md

* Update developing.md

* Update developing.md

* Update codespaces-init.sh

* Update developing.md

Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
2022-12-07 22:49:12 +00: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 bac9c02c0a
Recreate examples (#1708) 2022-12-07 08:22:36 +01:00
Piotr Kiełkowicz 2a81d693ca
Enable Nullable - part 1 (#1710)
Enable Nullable by default
2022-12-05 12:02:13 -08:00
Piotr Kiełkowicz 701caaf203
Bump dependencies - examples (#1685) 2022-11-29 06:37:20 +00:00
Piotr Kiełkowicz d8d8332f63
Remove framework version from distribution structure (#1661) 2022-11-24 11:37:00 +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
Piotr Kiełkowicz 1ceac49732
Support for .NET 7 (#1617) 2022-11-15 09:30:23 +00:00
Piotr Kiełkowicz 5782c35eb2
Drop .NET Core 3.1 support (#1603) 2022-11-10 08:38:11 +00:00
Piotr Kiełkowicz 453612fe32
Rename _AT_STARTUP env vars to _ENABLED (#1518) 2022-10-31 09:42:37 +00:00
Piotr Kiełkowicz 03cc269232
Link check (#1503) 2022-10-26 11:06:22 +00:00
dependabot[bot] 56a25f58e4
Bump MongoDB.Driver from 2.17.1 to 2.18.0 in /examples/AspNetCoreMvc (#1431)
Bumps [MongoDB.Driver](https://github.com/mongodb/mongo-csharp-driver) from 2.17.1 to 2.18.0.
- [Release notes](https://github.com/mongodb/mongo-csharp-driver/releases)
- [Commits](https://github.com/mongodb/mongo-csharp-driver/compare/v2.17.1...v2.18.0)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  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-10-18 09:13:10 +02:00
dependabot[bot] 6b6a1e7f99
Bump StackExchange.Redis from 2.6.66 to 2.6.70 in /examples/AspNetCoreMvc (#1433)
Bump StackExchange.Redis in /examples/AspNetCoreMvc

Bumps [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis) from 2.6.66 to 2.6.70.
- [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.66...2.6.70)

---
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>
2022-10-18 07:38:30 +02:00
dependabot[bot] 2a41de1a39
Bump OpenTelemetry.Instrumentation.AspNet from 1.0.0-rc9.5 to 1.0.0-rc9.6 in /examples/ConsoleApp.SelfBootstrap (#1305)
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 15:06:44 +00:00
Rajkumar Rangaraj b752d79045
Remove OTEL_DOTNET_AUTO_LOGS_PARSE_STATE_VALUES (#1301) 2022-09-29 06:38:22 +00:00
Rajkumar Rangaraj aed55dfa53
Introduce OTEL_DOTNET_AUTO_PLUGINS (#1174)
* Replaced `OTEL_DOTNET_AUTO_TRACES_PLUGINS` and `OTEL_DOTNET_AUTO_METRICS_PLUGINS`
  with new environment variable `OTEL_DOTNET_AUTO_PLUGINS`.

* Remove PluginTypeMissingExpectedMethod

* test update

* PR feedback

* Remove space.

* PR feedback

* Update changelog
2022-09-09 01:09:41 +00:00
Piotr Kiełkowicz 24f151de04
Bump OTel Core Components to 1.3.1 (#1182) 2022-09-08 09:08:50 -07:00
dependabot[bot] 04146da957
Bump StackExchange.Redis from 2.6.48 to 2.6.66 in /examples/AspNetCoreMvc (#1166)
Bump StackExchange.Redis in /examples/AspNetCoreMvc

Bumps [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis) from 2.6.48 to 2.6.66.
- [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.48...2.6.66)

---
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: Paulo Janotti <pjanotti@splunk.com>
2022-09-07 18:51:05 +00:00
Rajkumar Rangaraj 2c5b27709a
Remove default values from launchsettings.json (#1148) 2022-09-01 22:59:09 -07:00
Rajkumar Rangaraj d1d0d49191
Add Logs Plugin (#1141) 2022-09-01 12:57:08 +00:00
Rajkumar Rangaraj aa32666cb5
Add Logs support for ASP.NET Core apps (#1133)
* Add OpenTelemetry Logs

* Remove commented code

* Rename OpenTelemetry.AutoInstrumentation.StartupBootstrapper to OpenTelemetry.AutoInstrumentation.AspNetCoreBootstrapper.

* PR feedback

* PR feedback
2022-08-30 09:59:14 -07:00
Piotr Kiełkowicz 9a859d8053
dotnet-format check step (#1121)
* cleanup

* dotnet format verification step
taken from OTel contrib repo

* dotnet-format fixes

* revert changes in vendored code

* revert changes in core clr code + mark as autogenerated

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2022-08-24 22:41:18 -07:00
Piotr Kiełkowicz de15f868c5
Change Tracing sampler to parentbased_always_on. (#1090)
It is default required by OTel specification 6ce62202e5/specification/sdk-environment-variables.md?plain=1#L46.

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-08-19 20:15:46 +00:00
Piotr Kiełkowicz b180ac0a0a
Cleanup Examples.AspNetCoreMvc (#1067)
* bump otel/opentelemetry-collector-contrib to 0.57.2

* remove reference to OpenTelemetry.Instrumentation.StackExchangeRedis
2022-08-09 15:17:41 -07:00
dependabot[bot] dd35a62964
Bump MongoDB.Driver from 2.17.0 to 2.17.1 in /examples/AspNetCoreMvc (#1018)
Bumps [MongoDB.Driver](https://github.com/mongodb/mongo-csharp-driver) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/mongodb/mongo-csharp-driver/releases)
- [Commits](https://github.com/mongodb/mongo-csharp-driver/compare/v2.17.0...v2.17.1)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  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>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2022-08-02 15:39:01 +00:00
dependabot[bot] 90d5f8d744
Bump MongoDB.Driver from 2.13.1 to 2.17.0 in /examples/AspNetCoreMvc (#954)
Bumps [MongoDB.Driver](https://github.com/mongodb/mongo-csharp-driver) from 2.13.1 to 2.17.0.
- [Release notes](https://github.com/mongodb/mongo-csharp-driver/releases)
- [Commits](https://github.com/mongodb/mongo-csharp-driver/compare/v2.13.1...v2.17.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 08:41:45 +00:00
dependabot[bot] ac9a594bf4
Bump StackExchange.Redis from 2.2.4 to 2.6.48 in /examples/AspNetCoreMvc (#904)
Bumps [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis) from 2.2.4 to 2.6.48.
- [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.2.4...2.6.48)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 06:46:00 +00:00
dependabot[bot] 2702e5711e
Bump OpenTelemetry.Instrumentation.StackExchangeRedis from 1.0.0-rc9.6 to 1.0.0-rc9.7 in /examples/AspNetCoreMvc (#984)
Bump OpenTelemetry.Instrumentation.StackExchangeRedis

Bumps [OpenTelemetry.Instrumentation.StackExchangeRedis](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.StackExchangeRedis-1.0.0-rc9.6...Instrumentation.StackExchangeRedis-1.0.0-rc9.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 06:29:44 +00:00
Rasmus Kuusmann c083d5f81d
Enable all metrics by default (#934)
* Enable all metrics by default

* fix asp.net metrics tests

* typo fix

Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2022-07-14 12:46:40 -07:00
Rasmus Kuusmann 224a622387
Enable all trace instrumentations by default (simplified) (#932)
* detect asp.net core framework

* fix accessor

* cut ASP.NET Core on .NET Framework support
2022-07-13 10:52:45 -07:00
dependabot[bot] 6cb81b2a51
Bump OpenTelemetry.Instrumentation.StackExchangeRedis from 1.0.0-rc9.5 to 1.0.0-rc9.6 in /examples/AspNetCoreMvc (#911)
Bump OpenTelemetry.Instrumentation.StackExchangeRedis

Bumps [OpenTelemetry.Instrumentation.StackExchangeRedis](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.StackExchangeRedis-1.0.0-rc9.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 11:07:37 +02: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
Paulo Janotti 17de331195
Correct the case for MongoDB (#899) 2022-06-28 18:00:59 -07:00
dependabot[bot] ea1f47855d
Bump OpenTelemetry.Instrumentation.AspNet from 1.0.0-rc9.4 to 1.0.0-rc9.5 in /examples/ConsoleApp.SelfBootstrap (#862)
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-23 13:05:00 -07:00
Rajkumar Rangaraj 4dd0e18513
Add ASP.NET and HttpClient metrics instrumentation (#836)
* Add ASP.NET and HttpClient metrics instrumentation

* Example changes

* Update changelog
2022-06-13 08:44:15 -07:00
Rajkumar Rangaraj 233a31facc
Update example and document (#833)
* Update example and document

* update

* cspell update

* PR feedback

* Update Readme
2022-06-10 12:44:22 -07:00
Piotr Kiełkowicz 4c72168715
Rename OTEL_DOTNET_AUTO_TRACES_INSTRUMENTATION_PLUGINS to OTEL_DOTNET_AUTO_TRACES_PLUGINS (#837)
* fix changelog for OTEL_DOTNET_AUTO_TRACES_DISABLED_INSTRUMENTATIONS

* rename OTEL_DOTNET_AUTO_TRACES_INSTRUMENTATION_PLUGINS -> OTEL_DOTNET_AUTO_TRACES_PLUGINS
2022-06-10 08:30:18 -07:00
Piotr Kiełkowicz 0a28946f0e
Fix loading vendor plugin in AspNetCoreMvc-example app (#825) 2022-06-07 12:50:25 +00:00
Piotr Kiełkowicz 8780378b63
Remove hacks to set correct version for Microsoft.Extensions.Logging.Abstractions (#823)
* Remove hacks to set the correct version for Microsoft.Extensions.Logging.Abstractions
It is handled by additional dependency.

* Update TestApplication.StartupHook.csproj

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-06-07 09:57:02 +00:00
dependabot[bot] 0ede6f633a
Bump OpenTelemetry.Instrumentation.StackExchangeRedis from 1.0.0-rc9.4 to 1.0.0-rc9.5 in /examples/AspNetCoreMvc (#822)
Bump OpenTelemetry.Instrumentation.StackExchangeRedis

Bumps [OpenTelemetry.Instrumentation.StackExchangeRedis](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.StackExchangeRedis-1.0.0-rc9.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 07:43:19 +02: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
Paulo Janotti e81a596053
Add metrics to example (#708)
* Add metrics to example

* Fix load settings action declaration

* Add prometheus to the supported metric exporter supported values
2022-06-02 08:52:51 -07:00
Rajkumar Rangaraj dc03760819
Add Meter Provider Plugin (#676)
* Add Meter Provider Plugin

* PR feedback

* Wireup + Example update

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2022-05-23 08:33:39 -07: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