Commit Graph

8 Commits

Author SHA1 Message Date
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 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 f8f205757f
Remove unnecessary usings from OpenTelemetry Tests (#4029) 2022-12-20 21:07:24 -08:00
Mikel Blanchard 9836d3addb
[DependencyInjection] Introduce new package and refactor SDK (#3923) 2022-12-08 15:24:44 -08: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 cedda83469
[SDK] Support dependency injection in ResourceBuilder and load envvars from IConfiguration (#3782) 2022-10-19 15:14:07 -04:00
Mikel Blanchard f191e846d3
[SDK + Jaeger] Support loading environment variables from IConfiguration in Traces & Metrics (#3720)
* Support retrieval of environment variables through IConfiguration in SDK.

* Update Jaeger to load environment variables through IConfiguration.

* Warning fix.

* CHANGELOG patch.

* Bug fixes.

* Warning cleanup.

* Code review.
2022-10-12 09:56:07 -07:00
Mikel Blanchard 6ff512cf60
[Metrics] Improve dependency injection support in meter provider build-up using SDK (#3646)
* Mirror TracerProviderBuilder dependency injection API onto MeterProviderBuilder.

* Nullable annotations.

* Warning cleanup.

* Warning cleanup.

* Public API updates.

* Warning cleanup.

* Public API updates.

* CHANGELOG updates.

* Warning cleanup.

* Fixes.

* Tests.
2022-09-12 13:22:51 -07:00