Utkarsh Umesan Pillai
3157b5ce12
Remove unnecessary using statements ( #4023 )
...
* Remove unnecessary using statements from docs, examples, benchmarks and stress tests
2022-12-20 11:20:15 -08:00
Piotr Kiełkowicz
54b60b59b4
elasticsearch link fix ( #4021 )
2022-12-19 19:52:41 +05:30
Timothy Mothra
64f1d74561
fix analysis issues: CA2007 (part2) ( #4018 )
...
* fix analysis issues: CA2007
* remove duplicate
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-12-15 16:31:49 -08:00
Mikel Blanchard
5b9cba7cbd
[repo] CI updates ( #4016 )
...
* Port some CI tweaks from contrib.
* Logging in integration tests.
* Test tweaks.
* Warning cleanup.
* Fix format.
* Comments.
2022-12-15 16:08:30 -08:00
Timothy Mothra
9ad312af3a
fix analysis issues part1 ( #4017 )
2022-12-15 14:59:43 -08:00
Timothy Mothra
49d110ae0f
update `ConsoleActivityExporter` to use `Activity`'s enumerate methods ( #4002 )
...
* update consoleactivityexporter to use enumerate methods
* ref readonly
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-12-14 13:58:22 -08:00
Mikel Blanchard
a44a58bb7e
[Hosting] Throw startup exceptions ( #4006 )
...
* Allow the hosting startup to throw for valid issues.
* CHANGELOG stub.
* CHANGELOG patch.
* Warning cleanup.
* Code review.
2022-12-14 13:19:12 -08:00
Timothy Mothra
733a8689ef
temporarily disable AnalysisLevel ( #4008 )
...
* disable
* update project
2022-12-14 12:48:55 -08:00
Utkarsh Umesan Pillai
ebabb63f57
Update CHANGELOG for 1.4.0-rc.1 ( #4004 )
2022-12-12 14:54:53 -08:00
Mikel Blanchard
0a9bc552ed
Remove ConfigureServices & ConfigureBuilder from public API. ( #4003 )
2022-12-09 17:42:22 -08:00
Mikel Blanchard
045db1b62d
Reduce the public api exposed by OpenTelemetry.Extensions.DependencyInjection. ( #4001 )
...
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-12-09 16:38:18 -08:00
Mikel Blanchard
aee29efc6f
AspNetCore instrumentation internal logging improvements. ( #3998 )
2022-12-09 14:02:39 -08:00
Mikel Blanchard
61ba77df6e
Suppress ApiCompat for OpenTelemetry.Extensions.Hosting. ( #4000 )
...
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-12-09 13:45:50 -08:00
Mikel Blanchard
dd342f0508
[Logs] Remove ConfigureResource on OpenTelemetryLoggingOptions ( #3999 )
...
* Removed ConfigureResource on OpenTelemetryLoggingOptions.
* Patch CHANGELOG.
2022-12-09 13:26:31 -08:00
Utkarsh Umesan Pillai
c5fee60e9e
Mark OpenTelemetry.Extensions.Hosting as a core package ( #3992 )
2022-12-09 11:23:42 -08:00
Mikel Blanchard
6c47447679
Made the AddDetector overload accepting IServiceProvider internal for now. ( #3997 )
2022-12-09 10:37:48 -08:00
Mikel Blanchard
8d908b9d2b
[Traces] Support named options in SqlClient instrumentation ( #3994 )
...
* Introduce OpenTelemetry.DependencyInjection and refactor SDK.
* Update SqlClient instrumentation to use DependencyInjection package.
* Tweak.
* Manual merge fixes.
* Some refactoring.
* Renames.
* Bug fixes and refactoring.
* Cleanup and docs.
* More updates.
* More cleanup.
* API updates.
* Namespace tweaks.
* Refactoring and API changes.
* Example tweaks.
* Example cleanup.
* XML doc updates.
* XML doc updates.
* Bug fix.
* Test fixes.
* Example fixup.
* Test fixup.
* Test fixup.
* Example fixup.
* Test fixup.
* Test fixup.
* Test fixup.
* CHANGELOG patch.
* Add test project.
* Cleanup.
* Added configure tests.
* MeterProviderBuilder extensions tests.
* TracerProviderBuilder extensions tests
* Some README content.
* CHANGELOG patch.
* Doc updates.
* Example code fixes.
* Doc updates.
* Doc updates.
* Doc updates and cleanup.
* Doc updates.
* Skip ApiCompat on new project.
* API tweaks.
* Test fixes.
* XML doc improvements.
* Tweaks.
* Project file updates.
* Test fix.
* Project rename.
* Updated for new project name.
* Manual fixes for merge from main.
* More manual fixes for merge from main.
* Updates.
* Unit test.
* CHANGELOG patch.
2022-12-09 10:06:44 -08:00
Mikel Blanchard
723ad0bd65
[AspNetCore Instrumentation] AspNetCoreMetricsInstrumentationOptions follow-ups & nits ( #3982 )
...
* Updates to take care of nits.
* Public API fixes.
* CHANGELOG patch.
2022-12-08 17:03:05 -08:00
Mikel Blanchard
9836d3addb
[DependencyInjection] Introduce new package and refactor SDK ( #3923 )
2022-12-08 15:24:44 -08:00
Piotr Kiełkowicz
f0f5158ba1
SdkOptionLimits - fix defaults ( #3978 )
2022-12-08 14:50:54 -08:00
Timothy Mothra
6fa6700753
remove `ImplicitUsings disable` from projects (part 8) ( #3993 )
2022-12-08 14:26:54 -08:00
Timothy Mothra
2d02255bf8
remove `ImplicitUsings disable` from projects (part 7) ( #3991 )
...
* remove ImplicitUsings disable from projects.
ZPages
* Hosting
* Propagators
* remove implicitusings disable from projectsn
AspNetCore
* Http and GrpcNetClient
* remove implicitusings disable from projects
SqlClient
* Shims
2022-12-08 13:25:07 -08:00
Timothy Mothra
ab3e40790d
remove `ImplicitUsings disable` from projects (part 6) ( #3990 )
...
* remove ImplicitUsings disable from projects.
ZPages
* Hosting
* Propagators
* remove implicitusings disable from projectsn
AspNetCore
* Http and GrpcNetClient
2022-12-08 12:38:28 -08:00
Timothy Mothra
e29f8443e2
remove `ImplicitUsings disable` from projects (part 5) ( #3989 )
...
* remove ImplicitUsings disable from projects.
ZPages
* Hosting
* Propagators
2022-12-08 10:51:34 -08:00
Timothy Mothra
2eda12a018
remove `ImplicitUsings disable` from projects (part 4) ( #3986 )
2022-12-07 17:24:32 -08:00
Han Gao
589e891d62
Optimize diagnostic source event subscription to include isEnabledFilter ( #3965 )
2022-12-07 17:01:31 -08:00
Timothy Mothra
7401069298
remove `ImplicitUsings disable` from projects (part 3) ( #3985 )
2022-12-07 16:40:27 -08:00
Timothy Mothra
72595ac4bf
remove `ImplicitUsings disable` from projects (part 2) ( #3983 )
2022-12-07 16:02:08 -08:00
Timothy Mothra
a58c3c0c0d
update changelog ( #3984 )
2022-12-07 15:46:38 -08:00
Timothy Mothra
840434981b
Fix ConsoleExporter fails silently when exporting an `ActivityLink` without Tags. ( #3932 )
2022-12-07 14:48:27 -08:00
Ivan Beňovic
b3a0a142d3
Add support for some AspNetCoreMetricsInstrumentationOptions ( #3948 )
...
* Add support for some AspNetCoreMetricsInstrumentationOptions
(cherry picked from commit 67b7c7a64cf8a426486ba26aac9e6c3f8246bb6f)
* Refactor and fix MetricTests
* Code review changes
* Update changelog
* Add new APIs to all targets
* Rename function name to Enrich and fixed typo in comment
* Update PublicAPI definitions after renaming
* Fix changelog typo and formatting
Signed-off-by: Ivan Benovic <ivan.benovic@innovatrics.com>
* Change AspNetCoreMetricEnrichmentFunc signature to ref instead of out
Signed-off-by: Ivan Benovic <ivan.benovic@innovatrics.com>
* Fixed documentation file name
* Removed unused using
* Make markdown linter happy
* Fix MetricTests style warnings
Signed-off-by: Ivan Benovic <ivan.benovic@innovatrics.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-12-07 11:23:51 -08:00
Timothy Mothra
44d2fe20ba
implicitusings ( #3980 )
2022-12-07 10:43:36 -08:00
Timothy Mothra
804c448d2e
add nullable enable to Common.props and disable in projects. ( #3964 )
2022-12-05 15:33:57 -08:00
Timothy Mothra
6bcb70b1fe
Add `ImplicitUsings` to Common.props ( #3959 )
2022-12-02 15:01:27 -08:00
Timothy Mothra
dfd1f25c95
Add `AnalysisLevel` to Common.props ( #3960 )
...
* add AnalysisLevel to Common.props
* fix CA2017
2022-12-02 12:42:56 -08:00
Evan Mattson
2116966171
Fix dotnet run jaeger command. Include comment on how to access localhost Jaeger UI. ( #3957 )
2022-11-30 15:55:48 -08:00
Han Gao
260460787f
[DOC] Update Jaeger tutorial to use OTLP Exporter ( #3940 )
...
* [DOC] Update Jaeger tutorial to use OTLP Exporter
* fix HttpClient could not be found in .NET framework error during CI
* fix markdown lint issue
* Update jaeger example .csproj file
* Update docs/trace/getting-started-jaeger/getting-started-jaeger.csproj
* Remove redundant options setting and update README
Co-authored-by: Reiley Yang <reyang@microsoft.com>
2022-11-30 11:10:23 -08:00
Vishwesh Bankwar
e376aef472
[SqlClient] Clarify behavior when using `System.Data.SqlClient` with .NET Framework ( #3937 )
...
* Add System.Data.SqlClient clarification for netfmk
* wrap comment
* readme update
* readme
* Update src/OpenTelemetry.Instrumentation.SqlClient/README.md
Co-authored-by: Timothy Mothra <tilee@microsoft.com>
* resolve PR comments
Co-authored-by: Timothy Mothra <tilee@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-11-29 10:46:25 -08:00
Robert Pająk
6c73e36808
Update README.md ( #3951 )
2022-11-28 15:54:02 -08:00
Timothy Mothra
39283c7327
create empty test project for Console Exporter ( #3933 )
2022-11-23 16:36:31 -08:00
Timothy Mothra
a2c192642a
remove pinned version ( #3935 )
2022-11-23 16:15:47 -08:00
Timothy Mothra
2f492b2fc0
fix W3CTraceContextTests integration test ( #3938 )
2022-11-23 15:59:47 -08:00
Vishwesh Bankwar
943c856c1c
[]ASP.NET Core] Update `http.status_code` dimension type to int ( #3930 )
...
* change status code dimension from string to int
2022-11-22 10:06:32 -08:00
Utkarsh Umesan Pillai
82d3bacd68
Remove semVer prefix ( #3929 )
...
* Remove semVer prefix
* Use default instrumentation version as 1.0.0.0
2022-11-21 16:20:11 -08:00
Vishwesh Bankwar
c5ecd05c72
[ASP.NET Core] Add additional `http.server.duration` metric attributes ( #3928 )
2022-11-21 15:21:31 -08:00
Yun-Ting Lin
a4df1453e2
Add OTLP over gRPC project skeleton. ( #3909 )
2022-11-18 13:45:43 -08:00
rinat16
490b9b1ac7
[ASP.NET Core] replace http.target with http.route ( #3903 )
2022-11-18 12:50:30 -05:00
Utkarsh Umesan Pillai
50a2180e6e
Use the correct workflow for Build badge ( #3921 )
...
* Use the correct workflow
* Fix link
2022-11-17 20:52:28 -08:00
Cijo Thomas
88239aaf76
Fix CI badge with new workflow ( #3920 )
2022-11-17 13:39:19 -05:00
Mikel Blanchard
bf95a54901
Removed AddExporter API for 1.4 release. ( #3908 )
...
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-11-17 12:30:37 -05:00