Vishwesh Bankwar
b9908d14f8
[ASP.NET Core] Do not reset baggage on request stop event ( #4274 )
2023-05-05 14:11:12 -07:00
Vishwesh Bankwar
d0829fff2f
[ASP.NET Core] Add test validating route information for non-mvc scenario ( #4105 )
2023-02-14 18:39:07 -05:00
Mikel Blanchard
74212a2402
[sdk+hosting] Move AddOpenTelemetry & OpenTelemetryBuilder into Hosting package ( #4174 )
...
* Move AddOpenTelemetry & OpenTelemetryBuilder into Hosting package.
* Added Azure Functions warning.
* Test fixes.
* Test fixes.
* Patch CHANGELOGs.
* Hosting README updates.
* Comment tweak.
* Clean up.
* Test cleanup.
* MD lint.
* Test fixes.
2023-02-10 12:11:26 -08:00
Mikel Blanchard
94f67d8a8c
Revert "[sdk] Use reflection and dynamic types to start providers ( #4151 )" ( #4173 )
...
This reverts commit b549e12148 .
2023-02-09 10:14:12 -08:00
Mikel Blanchard
b549e12148
[sdk] Use reflection and dynamic types to start providers ( #4151 )
...
* Remove StartWithHost extension and using reflection to do the work in SDK.
* Warning cleanup.
* Fix up.
* Improved logging.
* Remove OpenTelemetry.Extensions.Hosting dependency from examples & docs.
* Test fixes.
* Fixes and test updates.
* Bug fix.
* Patch CHANGELOGs.
* Clean up.
* Support Azure Functions TelemetryHostedService dependency inspection logic.
* Code review.
* Code review.
* Code review.
---------
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-02-08 15:20:02 -08:00
Mikel Blanchard
1f096cb6b8
[DI] Remove ConfigureBuilder and add implementation factory helpers ( #4103 )
...
* Hide ConfigureBuilder and add common helpers.
* Remove ConfigureBuilder.
* Test fixes.
* Test fixes.
* Tests for new factory methods.
* CHANGELOG patch.
2023-01-31 09:46:36 -08:00
Utkarsh Umesan Pillai
8013a3a539
Refactor unit tests ( #4039 )
2022-12-22 15:25:20 -08:00
Utkarsh Umesan Pillai
b138784df5
Remove unnecessary usings from instrumentation tests ( #4028 )
2022-12-20 19:45:14 -08:00
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
9836d3addb
[DependencyInjection] Introduce new package and refactor SDK ( #3923 )
2022-12-08 15:24:44 -08:00
Vishwesh Bankwar
a758c60cf4
fix tests ( #3906 )
2022-11-15 13:32:11 -05:00
Vishwesh Bankwar
b5e50b2878
[ASP.NET Core] Clear logging for testing scenarios ( #3810 )
2022-11-11 13:50:12 -05:00
Vishwesh Bankwar
0c31fb9702
[ASP.NET Core] Update enrich callbacks to use specific type. ( #3749 )
2022-10-21 13:26:41 -04:00
Vishwesh Bankwar
8800b2ffdb
Move all diagnostic source events to a single callback method `OnEventWritten` ( #3691 )
2022-09-26 15:22:41 -04:00
Vishwesh Bankwar
74412f0b19
[ASP.NET Core] Enable diagnostic source events using explicit names ( #3519 )
2022-09-21 11:54:34 -07:00
Vishwesh Bankwar
098f2e0253
[ASP.NET Core] Add unit test for validating diagnostic source event subscription ( #3597 )
...
* add unit test for validating event subscription
2022-08-30 14:13:07 -07:00
al-mac
4310e08afd
Fix ASP.NET Core ExceptionFilter prevents recording exception ( #3475 )
2022-08-24 14:28:19 -04:00
Vishwesh Bankwar
bbb7e98ec5
#3490 follow up (Fix asp.net core middleware activity modification issue) ( #3498 )
2022-08-11 13:35:43 -04:00
Yun-Ting Lin
dd8809900a
AspNetCore/Http Instrumentation to leverage native Activity Status. ( #3555 )
2022-08-10 15:51:17 -04:00
Vishwesh Bankwar
b8385a8ca0
Refactor asp.net core test apps ( #3558 )
2022-08-08 20:41:03 -07:00
Vishwesh Bankwar
668b07335b
Clean up netcoreapp3.1 and add net7.0 to tests ( #3543 )
2022-08-04 20:21:55 -07:00
Alan West
a789bc0259
Merge net7.0 to main ( #3539 )
2022-08-04 10:25:21 -07:00
Alan West
25df7e85b0
Revert "Merge branch 'net7.0' into main" ( #3531 )
...
This reverts commit e64015cadd , reversing
changes made to 5653454b0c .
2022-08-03 15:47:18 -07:00
Vishwesh Bankwar
e24677b8ea
[.NET7.0] AspNetCore ActivitySource Migration ( #3391 )
2022-08-03 11:57:25 -07:00
Alan West
8dd0743174
Merge branch 'main' into net7.0
2022-08-03 11:46:27 -07:00
liangli
82e041c27c
fix: replace all newtonsoft.json usages ( #3478 )
2022-07-28 19:12:28 -07:00
Vishwesh Bankwar
6789efab53
Asp.Net Core Unit test [Activity started in middleware is modified by instrumentation] ( #3490 )
2022-07-27 15:27:44 -07:00
Vishwesh Bankwar
5d5f1f2964
Add net7.0 target for aspnetcore ( #3366 )
2022-06-17 10:27:18 -07:00
Cijo Thomas
05feb69d34
Replace MOQ with InMemoryExporter in ASP.NET Core ( #3328 )
2022-06-02 09:21:19 -07:00
Cijo Thomas
06d623bf5a
Remove net5.0 target from aspnet core instrumentation ( #3223 )
2022-04-22 09:23:39 -07:00
Amir
41745a2b63
code style compatible with dotnet new version ( #2880 )
2022-02-18 10:04:04 -08:00
Reiley Yang
794450b178
Clean up test cases by using consistent variable name ( #2672 )
2021-11-23 21:26:29 -08:00
Vishwesh Bankwar
4f930d5074
Enable .net6.0 build and add net6.0 target ( #2559 )
2021-11-04 08:33:35 -07:00
Mikel Blanchard
69c6bf2de9
ASP.NET & ASP.NET Core: Clear baggage when root activity is complete ( #2284 )
...
* Clear baggage when root activity is complete.
* Test fixes.
* Code review.
* A couple improvements found reviewing baggage code.
2021-08-30 12:46:01 -07:00
Vishwesh Bankwar
baaa37150e
Change http.path to http.target in aspnet and aspnetcore instrumentations ( #2266 )
...
* change http.path to http.target
* update changelog
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-08-23 10:44:45 -07:00
Cijo Thomas
ceaaa40262
Logformatter null check ( #2200 )
2021-07-29 10:31:08 -07:00
Austin Tan
c17d794fd4
Unit Tests for Enrich calls in Instrumentation Libraries ( #2133 )
2021-07-19 09:45:23 -07:00
Utkarsh Umesan Pillai
c28efc3f40
Update HttpInListener to add gRPC tags - By creating a new activity with the OperationName used by the framework ( #1879 )
2021-05-03 21:04:34 -07:00
Utkarsh Umesan Pillai
9d533a4629
Add unit test to ensure that context is extracted irrespective of the Filter applied ( #1936 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-03-26 15:38:12 -07:00
Utkarsh Umesan Pillai
0c8b5e1e8c
Modify ASP.NET Core instrumentation to take advantage of sampling decision ( #1899 )
2021-03-18 14:00:10 -07:00
Utkarsh Umesan Pillai
0581ce2957
Remove ActivitySourceAdapter ( #1836 )
...
Removed ActivitySourceAdapater and made TracerProviderSdk natively support legacy activites
2021-02-25 11:32:17 -08:00
Mikel Blanchard
b956a5f7e9
Resource allocation improvement ( #1463 )
...
* Introduces the concept of IProviderContainer which allows injection of a TracerProvider into lower levels (Processor, Exporter, etc.).
* Removed IProviderContainer and fixed the provider types.
* Removed log provider example.
* Working on getting everything working with the new API.
* Attempting to get all the tests passing.
* Added concept of BaseProvider. Updated public API.
* Project fixup.
* Removed OnParentProviderSet.
* Updated changelog.
* Test fixup.
* Test fixup.
* Cleanup.
2020-11-09 13:39:25 -08:00
Eddy Nakamura
052ecc44b2
Enable .net5.0 ( #1486 )
...
* Enable .net5.0
* fixing build issues
* updating sanity
* fixing windows pipelines
* adding aspnetcore5.0
* adding net5 workaround
* skipping Flackytest
* updating to latest stable version
* updating code coverage to latest preview
2020-11-09 12:34:03 -08:00
Eddy Nakamura
7c9bee3f6d
Removing Propagator from Options ( #1448 )
...
* Removing Propagator from Options
updating changelog
fixing tests
fixing tests
* updating changelog
* moving to dispose
* Revert "moving to dispose"
This reverts commit 01d41406b3 .
* fixing build
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-04 01:57:55 -08:00
Cijo Thomas
097925980d
Add GlobalPropagators API and have instrumentation default to it ( #1428 )
...
* Add GlobalPropagators API and have instrumentation default to it
* changelog
* fix name
* reset after
* min comment address
* move id format to same place as context propagator
* renam
* renai
* text initialize correctly
* modify microsoervice example to pick global propagator
* make Global propagator get only in api
* Add SetDefaultPropagato to SDK
2020-11-02 20:40:31 -08:00
Cijo Thomas
4975fb062b
Rename of Propagators ( #1427 )
...
* Rename IPropagator to ITextMapPropagator, TextMapPropagator to TraceContextPropagator
* changelogs
* build fix
* make ITextMapPropagator an abstract class
* Renaming ITextMapPropagator to TextMapPropagator
* CompositeTextMapPropagator rename
* fix changhelog
2020-10-30 12:18:07 -07:00
Eddy Nakamura
9cd31cfeba
Removed IsOk property from Status and fixed StatusCode enum values ( #1414 )
...
* Removing IsOk property
* updating changelog
* Updating StatusCode enum and tests
2020-10-28 12:15:16 -07:00
Cijo Thomas
296483c2d3
Document AspNetCore instrumentation Enrich action ( #1399 )
...
* Document AspNetCore instrumentation Enrich action
* fix lint
* pr comment
* fix doc link
2020-10-27 08:52:21 -07:00
Alan West
dc29b9fc5a
Add test validating expected status for AspNetCore instrumentation ( #1381 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-26 23:17:14 -07:00
Reiley Yang
71bb3635f5
ILogger integration - part 3 ( #1328 )
...
* extract common part
* make process/exporter generic
* update dependencies
* update all the tests and docs
* clean up
* changelog
* update readme
* prevent LogRecord to be inherited
* simplify example
* simplify the code
* revert accidental change
2020-10-07 09:55:54 -07:00