Commit Graph

82 Commits

Author SHA1 Message Date
Rajkumar Rangaraj 483bc67882
Post 1.0.2 release update (#2983)
Post 1.0.1 release update
2023-09-28 04:47:08 +00:00
Piotr Kiełkowicz b0acb68221
Post 1.0.1 release update (#2973) 2023-09-21 10:40:30 +00:00
Piotr Kiełkowicz 51815490af
Remove wrongly copied comments (#2938) 2023-09-11 09:05:21 +00:00
Piotr Kiełkowicz fbbbfb0650
Update OTel .NET Auto in example (#2928) 2023-09-07 11:34:47 +00:00
Piotr Kiełkowicz b0ca8f0088
Drop ProfilerAttached functionality (#2698)
* Drop ProfilerAttached functionality
it was used only by our example application

* add missing file
2023-06-23 11:29:20 -07:00
Piotr Kiełkowicz c42f93e4b2
Instrumentation generator (#2614) 2023-06-14 05:14:06 +00:00
Piotr Kiełkowicz 1cf576f63c
Update collector and jeager to latest releases (#2602)
Fix breaking change for logLevel->verbosity
2023-06-05 11:44:26 +02:00
Piotr Kiełkowicz 93157a56a2
Release 0.7.0 (#2486) 2023-04-25 06:40:54 +02:00
Zach Montoya df78d34cb9
Update native code (#2280)
* Port all of the changes to the native product and native tests

* Pass integrations to the profiler via C# and PInvoke, instead of integrations.json

* Delete integrations.json and remove environment variable OTEL_DOTNET_AUTO_INTEGRATIONS_FILE

* Add ByRef improvements to the CallTarget infrastructure:
- struct CallTargetReturn/CallTargetReturn<T> is now a readonly ref struct
- Pass CallTargetState by ref into EndMethod integration callbacks
- Pass input arguments by ref into BeginMethod integration callbacks

See f2cbb4ba93

* Really small changes to CallTarget infrastructure

* Fix build when using C#11

* Run format-native.sh

* Update native headers

* Fix possible null reference exception

* Fix changelog lint error

* Fix yet another native header issue

* Skip the StrongNamedTests for now

* Add the instrumentation type ("Trace|Log|Metric") and the instrumentation name (e.g. "GraphQL") to each instrumentation to allow for enabling and disabling integrations via environment variables

* Fix native format errors

* Fix the StackExchangeRedis integration definitions, which should resolve the integration test issues for the CustomSdkTests case and the StackExchangeRedisTests case

* Drop: Temporary launchSettings.json

* Commit updates to NServiceBus to try and resolve multiple System.Diagnostics.DiagnosticSource dll's getting loaded

* Add DiagnosticSource package reference to fix .NET Frameowrk test applications

* Add test skip for "TestApplication.StrongNamedValidation" spans, and document the GH issue that tracks the follow-up work

* Remove Datadog log prefix

* PR feedback: Update comments in NativeCallTargetDefinition.cs to keep the native call target definitions struct in-sync on the managed and native side

---------
2023-04-14 07:24:06 +02:00
dependabot[bot] 8c3ce9a47f
Bump Microsoft.Data.SqlClient from 5.1.0 to 5.1.1 (#2393)
* Bump Microsoft.Data.SqlClient from 5.1.0 to 5.1.1

Bumps [Microsoft.Data.SqlClient](https://github.com/dotnet/sqlclient) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/dotnet/sqlclient/releases)
- [Changelog](https://github.com/dotnet/SqlClient/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dotnet/sqlclient/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: Microsoft.Data.SqlClient
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Genereated 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>
2023-03-29 17:47:16 +00:00
Robert Pająk 494cebdecd
Improve examples/demo (#2327)
* Use docker compose v2

* Handle HttpRequestException in Examples.Client

* Fix CORECLR_PROFILER_PATH

* Move sleep at the end of the loop
2023-03-15 17:41:01 +00:00
Piotr Kiełkowicz a0c3a520a5
Pin dependencies (#2312)
Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
2023-03-14 06:24:51 +01:00
Piotr Kiełkowicz 503401079a
[Example] Bump OTel AutoInstrumentation to 0.6.0 (#2276)
Bump OTel AutoInstrumentation to 0.6.0
2023-03-01 07:32:02 +00:00
Robert Pająk 8f5fab811b
Reuse instrument.sh for development (#2161) 2023-02-03 13:07:32 +00:00
Paulo Janotti 8a5f599fb2
Make dotnet CLI issue more visible in the docs (#2128)
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2023-02-01 06:40:10 +00:00
xiang17 a36ba28e55
Manage dependencies with Central Package Management (#2004) 2023-01-23 11:46:12 +00:00
dependabot[bot] af5c9c0007
Bump Microsoft.Data.SqlClient from 5.0.1 to 5.1.0 in /examples/demo/Service (#2026)
Bump Microsoft.Data.SqlClient in /examples/demo/Service

Bumps [Microsoft.Data.SqlClient](https://github.com/dotnet/sqlclient) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/dotnet/sqlclient/releases)
- [Changelog](https://github.com/dotnet/SqlClient/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dotnet/sqlclient/compare/v5.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: Microsoft.Data.SqlClient
  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>
2023-01-20 13:21:24 +00:00
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