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
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
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
Han Gao
589e891d62
Optimize diagnostic source event subscription to include isEnabledFilter ( #3965 )
2022-12-07 17:01:31 -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
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
Timothy Mothra
39283c7327
create empty test project for Console Exporter ( #3933 )
2022-11-23 16:36:31 -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
rinat16
490b9b1ac7
[ASP.NET Core] replace http.target with http.route ( #3903 )
2022-11-18 12:50:30 -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
Vishwesh Bankwar
459e2d7fad
[ASP.NET Core] Remove `http.host` and add `net.host.name` and `net.host.port` ( #3858 )
2022-11-17 12:18:34 -05:00
Michael Maxwell
e0d87376f3
Update prometheus ports to the default 9464 ( #3914 )
...
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-11-16 21:31:10 -05:00
Mikel Blanchard
0604ecf346
[Traces] Made ctor on BatchExportActivityProcessorOptions accepting IConfiguration internal ( #3902 )
2022-11-15 15:29:30 -05:00
Vishwesh Bankwar
2e7b7a9308
[HttpClient] Add `net.peer.name` and `net.peer.port` on metric dimensions ( #3907 )
...
* Add net.peer.name and net.peer.port on metric
* changelog
* rmv todo
2022-11-15 14:57:32 -05:00
Vishwesh Bankwar
a758c60cf4
fix tests ( #3906 )
2022-11-15 13:32:11 -05:00
Mikel Blanchard
f770047d97
[Sql Instrumentation] Unify exposed public API ( #3900 )
...
* Unify public api exposed in sql instrumentation package.
* CHANGELOG patch.
* Code review.
* README updates.
* README tweaks.
2022-11-14 14:33:55 -08:00
Mikel Blanchard
018dc9cc49
Cleaned up notes. ( #3899 )
2022-11-14 10:21:33 -08:00
Mikel Blanchard
ddcff7de3c
[Logs] Support dependency injection in ResourceBuilder and load envvars from IConfiguration ( #3889 )
...
* Fixed logging resource builder not being attached to IServiceProvider.
* CHANGELOG patch.
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2022-11-11 11:49:44 -08:00
Vishwesh Bankwar
b5e50b2878
[ASP.NET Core] Clear logging for testing scenarios ( #3810 )
2022-11-11 13:50:12 -05:00
Vishwesh Bankwar
2fce583b9c
[HttpClient] Remove `http.host` and add `net.peer.name` & `net.peer.port` to match spec ( #3832 )
2022-11-11 12:49:30 -05:00
dependabot[bot]
a8b72df614
Bump Microsoft.Data.SqlClient ( #3882 )
2022-11-09 19:18:08 -05:00
Cijo Thomas
85da882bbd
Upgrade DS to 7.0 stable ( #3875 )
2022-11-08 12:13:54 -05:00
Mikel Blanchard
51f6cb7675
Tweak AddExporter to work better with Options API. ( #3870 )
...
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-11-08 11:46:53 -05:00
Alan West
f1992d9363
Refactor OTLP mock collector test ( #3849 )
2022-11-04 18:20:55 -04:00
Cijo Thomas
be78372696
Minor perf tweaks in Metrics ( #3867 )
2022-11-04 12:40:24 -04:00
Cijo Thomas
91607e7d77
More performance improvement when views are used ( #3864 )
2022-11-04 09:40:07 -04:00
Mikel Blanchard
399fbcfaab
[Http Instrumentation] Unify exposed public API ( #3793 )
...
* Expose the same Http API for all targets.
* CHANGELOG stub.
* Merge updates.
* CHANGELOG updates.
* CHANGELOG cleanup.
* Working on tests.
* Test fix.
* Cleanup.
* HttpClient tests passing.
* Tests passing.
* Tests passing.
* README updates.
* Cleanup.
* Lint
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-11-02 11:48:23 -07:00
Cijo Thomas
c15493106a
Add benchmark numbers and remove invalid case ( #3848 )
2022-10-31 16:16:31 -04:00
Vishwesh Bankwar
131b350d95
add net7.0 to test and docs project ( #3842 )
2022-10-28 16:58:56 -04:00
Mikel Blanchard
8add3db43a
[Http] Fix propagation issues ( #3828 )
...
* Fix propagation issues with http client instrumentation.
* More comments and asserts.
* Fixes.
* Improve tests.
* Test cleanup.
* Simplify things.
* CHANGELOG update.
* Code review.
* Lint.
* Code review.
* Code review.
Co-authored-by: Vishwesh Bankwar <vishweshbankwar@users.noreply.github.com>
2022-10-28 10:48:24 -07:00
Michael Maxwell
1a65aec968
Limit character set according to spec ( #3821 )
2022-10-27 20:55:05 -07:00
Cijo Thomas
2c6dc2659b
Add net70 to benchmarks ( #3824 )
2022-10-26 18:55:46 -04:00
Cijo Thomas
88c1864cb7
Histogram MinMax API fixes ( #3822 )
2022-10-26 12:35:07 -04:00
Cijo Thomas
004c3f6a1f
Rename AggregationType to better reflect intent ( #3820 )
2022-10-25 18:43:01 -04:00
Alan West
a3867bde73
Validate OTLP exporter continues to export after RpcException ( #3788 )
2022-10-25 15:46:06 -04:00
Vishwesh Bankwar
732f199676
Update grpc client enrich callbacks ( #3804 )
2022-10-24 12:41:54 -04:00
Mikel Blanchard
0804334de7
Fix circular reference issue building up meter provider. ( #3806 )
...
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-10-21 14:34:04 -07:00
Mikel Blanchard
9b8702e3dc
Fix circular reference issue building up tracer provider. ( #3803 )
2022-10-21 13:10:46 -07:00
Mikel Blanchard
32650555d4
[SDK] Support dependency injection in the GetDefaultResource API ( #3798 )
...
* Support dependency injection in the GetDefaultResource API.
* CHANGELOG patch.
* Test tweaks.
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-10-21 12:33:38 -07:00
Vishwesh Bankwar
d21e609f00
[Http] Update enrich callbacks for http ( #3792 )
2022-10-21 11:34:17 -07:00
Vishwesh Bankwar
0c31fb9702
[ASP.NET Core] Update enrich callbacks to use specific type. ( #3749 )
2022-10-21 13:26:41 -04:00