Commit Graph

15 Commits

Author SHA1 Message Date
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 9836d3addb
[DependencyInjection] Introduce new package and refactor SDK (#3923) 2022-12-08 15:24:44 -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
Mikel Blanchard 97e5021c73
[Traces] Support named options in AspNetCore instrumentation (#3661)
* Support named options in aspnetcore instrumentation.

* CHANGELOG update.
2022-09-14 13:14:33 -07: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 5d5f1f2964
Add net7.0 target for aspnetcore (#3366) 2022-06-17 10:27:18 -07:00
Cijo Thomas 06d623bf5a
Remove net5.0 target from aspnet core instrumentation (#3223) 2022-04-22 09:23:39 -07:00
Vishwesh Bankwar 4f930d5074
Enable .net6.0 build and add net6.0 target (#2559) 2021-11-04 08:33:35 -07:00
Utkarsh Umesan Pillai 54d46d80a0
Remove unncessary usings (#2213) 2021-07-29 17:27:28 -07:00
Cijo Thomas ceaaa40262
Logformatter null check (#2200) 2021-07-29 10:31:08 -07:00
Cijo Thomas 2347c48203
Fix AspNetCore configuration for .Net Core 3 and above (#2102) 2021-06-23 19:38:37 -07:00