Azure / azure-functions-powershell-worker

PowerShell language worker for Azure Functions.
MIT License
203 stars 51 forks source link

Add support for OpenTelemetry in worker #1058

Closed andystaples closed 2 months ago

andystaples commented 2 months ago

Issue describing the changes in this PR

resolves #1048 Cherry-pick commit from dev Documentation Issue: #1057

Pull request checklist

Additional information

Additional PR information

AnatoliB commented 2 months ago

Please fix the failing unit test (OpenTelemetryControllerTests.OpenTelemetryEnvironmentVariableCheckWorks). Most likely, it will pass if you invoke OpenTelemetryController.ResetOpenTelemetryModuleStatus() at the beginning.

andystaples commented 2 months ago

No sense in merging until the pipeline passes, since it builds the artifacts we need for release. Looks like that change did it - going now