pulumi/pkg/backend
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
..
cloud Begin tracing Pulumi API calls. (#1330) 2018-05-07 18:23:03 -07:00
local Begin tracing Pulumi API calls. (#1330) 2018-05-07 18:23:03 -07:00
state Begin tracing Pulumi API calls. (#1330) 2018-05-07 18:23:03 -07:00
backend.go Begin tracing Pulumi API calls. (#1330) 2018-05-07 18:23:03 -07:00
display.go Simplify code that decides to show stack outputs. (#1332) 2018-05-06 11:30:20 -07:00
snapshot.go Snapshot management overhaul and refactor (#1273) 2018-04-25 17:20:08 -07:00
snapshot_test.go Snapshot management overhaul and refactor (#1273) 2018-04-25 17:20:08 -07:00
stack.go Begin tracing Pulumi API calls. (#1330) 2018-05-07 18:23:03 -07:00
updates.go Revert adding HEAD commit info to update env (#1257) 2018-04-23 14:01:28 -07:00