https://pulumi.com logo
#dotnet
Title
# dotnet
b

brainy-nest-61978

04/10/2020, 11:07 AM
Whats the best way to view trace files on win 10? I've run traces as follows:
pulumi up  --tracing=file:./up.trace
and I've installed appdash to try to view them. but not sure how to use it. I've also tried running the appdash listener
appdash serve
so that I can send try to send the trace directly there (if thats possible), but it exits immediately with the following message :
appdash collector listening on :7701 (plaintext TCP (no security))
appdash HTTP server listening on :7700
rename C:\Users\MICHAE~1.GUI\AppData\Local\Temp\appdash785531047 /tmp/appdash.gob: The system cannot find the path specified.
t

tall-librarian-49374

04/10/2020, 11:14 AM
The command is
Copy code
PULUMI_DEBUG_COMMANDS=1 pulumi view-trace ~/Downloads/up.trace
I see a bunch of super slow
/pulumirpc.ResourceMonitor/RegisterResource
calls
😟 1
@white-balloon-205 any ideas what that could be?
b

brainy-nest-61978

04/10/2020, 11:19 AM
PULUMI_DEBUG_COMMANDS=1 : The term 'PULUMI_DEBUG_COMMANDS=1' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ PULUMI_DEBUG_COMMANDS=1 pulumi view-trace ~/Downloads/up.trace
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (PULUMI_DEBUG_COMMANDS=1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
t

tall-librarian-49374

04/10/2020, 1:22 PM
You need to set this as an env variable in your CLI
👍 1
b

brainy-nest-61978

04/10/2020, 6:45 PM
@tall-librarian-49374 @white-balloon-205 any insight? This is very odd. I've tried updating to beta version 2.0.0. same. It is now hanging every time I run the command, setting config variables. even running
pulumi help
. I've rebooted a few times. started new projects/stacks. Checked internet connectivity.
w

white-balloon-205

04/10/2020, 7:12 PM
I don't think I see a trace file shareed here - happy to look at it if you can share in DM.
t

tall-librarian-49374

04/10/2020, 7:26 PM
@white-balloon-205 shared with you