https://pulumi.com logo
Title
i

icy-laptop-27867

03/01/2023, 1:35 PM
Hi team, was wondering what program do I use to view the
*.cpu
and
*.mem
files when running
pulumi up --profiling ..
?
b

billowy-army-68599

03/01/2023, 4:18 PM
it’s a jaeger trace, there’s a built in way of viewing it in the pulumi cli
i

icy-laptop-27867

03/01/2023, 4:59 PM
Is it
pulumi view-trace
? Maybe my file is corrupted:
pulumi view-trace .\test.14788.cpu
error: gob: encoded unsigned integer out of range
b

billowy-army-68599

03/01/2023, 5:00 PM
yeah I’d create another one
e

enough-garden-22763

03/02/2023, 4:22 AM
I think those files work with
go tool pprof
I forget the exact invocation but https://go.dev/blog/pprof is a good article
pulumi view-trace
uses a different format described in https://www.pulumi.com/docs/support/troubleshooting/#tracing