Commit Graph

71 Commits

Author SHA1 Message Date
Piotr Kiełkowicz 5782c35eb2
Drop .NET Core 3.1 support (#1603) 2022-11-10 08:38:11 +00:00
Rasmus Kuusmann 79ff7dc750
Support options change in plugins (#1542) 2022-11-08 08:55:56 +00:00
Rasmus Kuusmann 6bc031badf
Disable OpenTracing by default (#1539) 2022-11-03 13:09:54 +01:00
Piotr Kiełkowicz 453612fe32
Rename _AT_STARTUP env vars to _ENABLED (#1518) 2022-10-31 09:42:37 +00:00
Piotr Kiełkowicz 65099d8d42
Drop support for OTEL_DOTNET_AUTO_ENABLED (#1517) 2022-10-28 09:56:22 +00:00
Robert Pająk 9ed0adfddc
Document supported library version for WCF insturmentation (#1516) 2022-10-28 08:48:34 +00:00
Paulo Janotti 98872699ef
Add note about AspNet metrics instrumentation (#1486) 2022-10-24 08:19:11 +02: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
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
Piotr Kiełkowicz eae60012f0
MassTransit 8.0+ tracing instrumentation (#1412) 2022-10-13 10:03:34 +02:00
Piotr Kiełkowicz 2534ce3a37
Log warn when Prometheus exporter is configured (#1386)
* Log warn when Prometheus exporter is configured

* Apply suggestions from code review

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

* fix formating

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-10-10 13:54:57 -07:00
Piotr Kiełkowicz fc4e409eee
Support for B3 Single propagator (#1385) 2022-10-10 10:13:26 +00:00
dependabot[bot] 78e649bf92
Bump MongoDB.Driver.Core.Extensions.DiagnosticSources from 1.1.0 to 1.2.0 in /src/OpenTelemetry.AutoInstrumentation.AdditionalDeps (#1320)
* Bump MongoDB.Driver.Core.Extensions.DiagnosticSources

Bumps [MongoDB.Driver.Core.Extensions.DiagnosticSources](https://github.com/jbogard/MongoDB.Driver.Core.Extensions.DiagnosticSources) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/jbogard/MongoDB.Driver.Core.Extensions.DiagnosticSources/releases)
- [Commits](https://github.com/jbogard/MongoDB.Driver.Core.Extensions.DiagnosticSources/compare/1.1.0...1.2.0)

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

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

* Update golden files

* Bump MongoDB.Driver in test application

* update documentation and changelog

* cleanup leftovers for MongoDB 2.7

* update instrumentation definition

* cleanup AdditionalDeps/runtime folder

* Copy Native dependencies to Store

* pr feedback revert if

* pr feedback - switch method to pattern matching

* pr feedback - remove redundant ifs

* Update CHANGELOG.md

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>

* fix code formating - double empty lines

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-10-07 12:00:44 -07:00
Robert Pająk 7a5ee35e4c
Refine scripts docs (#1360) 2022-10-06 11:48:55 +02:00
Robert Pająk d05630fa57
Prometheus exporter is not stable on Linux and macOS (#1369) 2022-10-05 23:42:40 +00:00
Robert Pająk 828cb4dcca
Document Prometheus exporter (#1318)
Additional config.md refinements
2022-09-30 10:02:34 +00:00
Robert Pająk 3200fc71ea
Refine config.md (#1311)
* Refine config.md

* Apply suggestion
2022-09-29 12:54:47 -07:00
Rajkumar Rangaraj b752d79045
Remove OTEL_DOTNET_AUTO_LOGS_PARSE_STATE_VALUES (#1301) 2022-09-29 06:38:22 +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
Rasmus Kuusmann c32680660b
Add support for OTEL_DOTNET_AUTO_GRAPHQL_SET_DOCUMENT env var (#1265) 2022-09-26 16:09:37 +00:00
Robert Pająk a5fce34828
Add a convenient Bash script for installation (#1243) 2022-09-21 07:34:56 +00:00
Piotr Kiełkowicz 083dc54506
binary -> bytecode (#1221) 2022-09-13 10:51:14 +00:00
Dawid Szmigielski 4240d19670
Add WCF instrumentation (#1125) 2022-09-13 11:58:24 +02:00
Rajkumar Rangaraj 7ab26bea6e
Logs: Update config.md and changelog. (#1214)
* Logs: Update config.md and changelog.

* markdownlint fix

* PR feedback
2022-09-09 15:32:26 -07: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 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
Piotr Kiełkowicz 43ac1f1af7
Remove unused env variables (#1088)
* Remove unused env variables
OTEL_DOTNET_AUTO_METRICS_ENABLED and OTEL_DOTNET_AUTO_TRACES_ENABLED

* Update docs/config.md
2022-08-19 19:00:26 +00: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
Piotr Kiełkowicz e17bf05f29
Fix doc for MySqlData instrumentation (#973) 2022-07-21 09:18:10 +00: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
Robert Pająk 5906075380
Remove OTEL_DOTNET_AUTO_DOMAIN_NEUTRAL_INSTRUMENTATION (#941) 2022-07-15 21:51:45 +02:00
Robert Pająk f951cd688b
Remove OTEL_DOTNET_AUTO_{0}_ENABLED (#940)
* OTEL_DOTNET_AUTO_{0}_ENABLED is not working

* Revert

* Remove OTEL_DOTNET_AUTO_{0}_ENABLED

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2022-07-15 18:05:52 +00:00
Rasmus Kuusmann 3cd582e247
Add none option to instrumentations configuration (#937)
* add none option

* Update CHANGELOG.md

* refactor tests

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2022-07-15 10:50:04 -07: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
Piotr Kiełkowicz 1ae8fc48c3
Npgsql instrumentation (#933)
* add Npgsql do the dictionary

* Npgsql - traces instrumentation

* typo fixes

* code review feedback
2022-07-14 10:29:53 -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
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
Robert Pająk 35312608dc
Refine OTEL_METRIC_EXPORT_INTERVAL (#921) 2022-07-06 17:41:26 +02:00
Rajkumar Rangaraj 94fbe95c39
ASP.NET metrics tests (#901)
* .NET Framework metrics tests

* save work in progress

* Metrics exporter interval.

* Remove old changes

* Fix collector

* OTEL_AUTO_METRIC_EXPORT_INTERVAL->OTEL_METRIC_EXPORT_INTERVAL

* PR feedback.

* PR feedback
2022-06-30 21:11:08 +00:00
Paulo Janotti 17de331195
Correct the case for MongoDB (#899) 2022-06-28 18:00:59 -07:00
Paulo Janotti 20508f7149
Fix integration tests on Windows when using Linux containers (#888) 2022-06-28 19:56:32 +00:00
Robert Pająk 043a044221
Fix and refine env var separators (#892)
* Refine StartupHookTests

* Use working OTEL_DOTNET_AUTO_EXCLUDE_PROCESSES seperators

* Fix env var seperator in native code

* Improve OTEL_DOTNET_AUTO_INTEGRATIONS_FILE seperator

* Fix IntegrationLoaderTest.LoadsFromEnvironment

* Add ApplicationIsNotIncluded test
2022-06-28 12:20:26 -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
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 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 5ed7f1bf91
Update Metrics document - Config.md (#693)
* Update config.md

* Fix link

* PR feedback

* Update

* Removed entire line earlier , adding it back with removal of sentence.
2022-05-24 09:34:48 -07:00
Robert Pająk ad3feb30a7
Document IIS instrumentation (#688) 2022-05-23 18:40:17 +00:00
Rajkumar Rangaraj eafccb351d
Metric Exporters Prep - Rename ConfigurationKeys Variables (#657)
* Rename variables in ConfigurationKeys

* PR feedback

* PR feedback

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2022-05-11 06:30:51 +00:00