Azure / azure-functions-powershell-worker

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

OpenTelemetry support in worker #1049

Closed andystaples closed 2 months ago

andystaples commented 2 months ago

Initial commit of changes needed to support OpenTelemetry in the worker

resolves #1048

Pull request checklist

Additional information

Additional PR information

andystaples commented 2 months ago

This is a draft PR for a number of reasons. We need to discuss:

Also, there is a comment in there (RequestProcessor#400) that suggests some uncertainty about whether all worker capabilities need to be reported in EnvironmentReloadRequest. Reading through the protobuf spec, the host defaults to "merge" mode where new capabilities are added but old ones are retained, so that is no longer a concern. I'll pull that comment out with the next commit to this branch