You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that OpenTelemetry.DotNet.Auto.psm1 script is not signed
Symptom
I used Windows PowerShell (5.1 version as recommended) to execute the script and make auto instrumentation my Windows service. But PowerShell raised an exception on Import-Module command: "Import-Module : File ...\OpenTelemetry.DotNet.Auto.psm1 cannot be loaded. The file ..\OpenTelemetry.DotNet.Auto.psm1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170."
So I was forced to change PowerShell execution policy to "unrestricted" value for execute that command but it's security violence (Of course I turned it back after execution).
Could you please sign OpenTelemetry.DotNet.Auto.psm1 script and add to documentation a warning about this issue for same future cases.
Bug Report
Seems that OpenTelemetry.DotNet.Auto.psm1 script is not signed
Symptom
I used Windows PowerShell (5.1 version as recommended) to execute the script and make auto instrumentation my Windows service. But PowerShell raised an exception on Import-Module command: "Import-Module : File ...\OpenTelemetry.DotNet.Auto.psm1 cannot be loaded. The file ..\OpenTelemetry.DotNet.Auto.psm1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170."
So I was forced to change PowerShell execution policy to "unrestricted" value for execute that command but it's security violence (Of course I turned it back after execution).
Could you please sign OpenTelemetry.DotNet.Auto.psm1 script and add to documentation a warning about this issue for same future cases.
Thank you in advance!
Runtime environment:
Steps to reproduce the behavior:
Just try to reproduce instructions from manual for PowerShell module (Windows): https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation#powershell-module-windows. The exception is raised on "Import-Module $download_path" command.
The text was updated successfully, but these errors were encountered: