pulumi/pkg/util/cmdutil
Pat Gavlin 97ace29ab1
Begin tracing Pulumi API calls. (#1330)
These changes enable tracing of Pulumi API calls.

The span with which to associate an API call is passed via a
`context.Context` parameter. This required plumbing a
`context.Context` parameter through a rather large number of APIs,
especially in the backend.

In general, all API calls are associated with a new root span that
exists for essentially the entire lifetime of an invocation of the
Pulumi CLI. There were a few places where the plumbing got a bit hairier
than I was willing to address with these changes; I've used
`context.Background()` in these instances. API calls that receive this
context will create new root spans, but will still be traced.
2018-05-07 18:23:03 -07:00
..
args.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
child.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
child_windows.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
console.go Only show emojis on macOS 2018-04-26 18:28:07 -07:00
console_password.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
console_password_windows.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
diag.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
exit.go Add support for CPU and heap profiling. (#1318) 2018-05-04 11:26:53 -07:00
log.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
log_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
profile.go Add support for CPU and heap profiling. (#1318) 2018-05-04 11:26:53 -07:00
spinner.go Switch to a resource-progress oriented view for pulumi preview/update/destroy (#1116) 2018-04-10 12:03:11 -07:00
trace.go Begin tracing Pulumi API calls. (#1330) 2018-05-07 18:23:03 -07:00