Create extension methods for telemetry client (#1869)
* Added tests for php 8.2.0
* Revert "Added tests for php 8.2.0"
This reverts commit 857fd4bbe8
.
* Added Application Insights to service provider builder
* Injected TelemetryClient as a dependency
* Updated telemetry client injection
* Replaced IOptions with TelemetryClient
* Updated LogDependencies
* Renamed to TelemetryClientExtensions
* Made changes releated to adding Telemetry Client
* Fix build failure
* Fixed version conflict
* Registered telemetry client service
* Added telemetry client as DI to hugo
* Registered telemetry client service
* Replaced logger with telemetry client
* Added overloaded method for LogTimedEvent
* Removed references to NLog
* Flush client
* Fixed indentation
* Added FlushOnDispose to options
* Rmoved NLog.config
* Removed FlushOnDispose
* Added license header
* Fix validation failures
* Test validation failures
* Mock telemetry client for testing
* Delete mock class
* Added telemetry client mock for testing
* Replace InstrumentaionKey
* Resolved PR comments
* Remove Moq
* Removed ORYX_AI_INSTRUMENTATION_KEY
* Resolved PR comments
* Replaced InstrumentationKey env
* Fix logging
* Add NLog for writing to a file
* Resolve PR comments
* Fixed typo
* Fix nightly failures
* Fix nightly failures
* Add new line
* Rename aiKey
* Delete ITelemetryClientMock.cs
* Remove Moq and fix build fails
* Remove references to mock class
* Remove Moq
* Replace connection string value for tests
* Remove unused namespaces
* Update intergration test
* Remove extra space
* Remove extra space
* Explicitly shut down NLog.LogManager
* Remove un-used build event props from DockerfileCommand.cs