pulumi/pkg/engine
Pat Gavlin 82204230e1
Improve tracing support. (#3238)
* Fix some tracing issues.

- Add endpoints for `startUpdate` and `postEngineEventsBatch` so that
  spans for these invocations have proper names
- Inject a tracing span when walking a plan so that resource operations
  are properly parented
- When handling gRPC calls, inject a tracing span into the call's
  metadata if no span is already present so that resource monitor and
  engine spans are properly parented
- Do not trace client gRPC invocations of the empty method so that these
  calls (which are used to determine server availability) do not muddy
  the trace. Note that I tried parenting these spans appropriately, but
  doing so broke the trace entirely.

With these changes, the only unparented span in a typical Pulumi
invocation is a single call to `getUser`. This span is unparented
because that call does not have a context available. Plumbing a context
into that particular call is surprisingly tricky, as it is often called
by other context-less functions.

* Make tracing support more flexible.

- Add support for writing trace data to a local file using Appdash
- Add support for viewing Appdash traces via the CLI
2019-09-16 14:16:43 -07:00
..
destroy.go Add --server to pulumi plugin install 2019-06-03 09:31:18 -07:00
diff.go Add support for importing existing resources. (#2893) 2019-07-12 11:12:01 -07:00
engine.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
errors.go Show a better error message when decrypting fails (#1815) 2018-08-22 15:32:54 -07:00
events.go Implement GetAnalyzerInfo in analyzer plugin 2019-07-16 00:58:33 -07:00
eventsink.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
lifecycle_test.go Allow IDs to change during import. (#3133) 2019-08-23 15:00:24 -07:00
plan.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
plugins.go Add more details to an assert (#3129) 2019-08-28 11:28:04 -07:00
plugins_test.go Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00
project.go Add license headers 2018-05-22 15:02:47 -07:00
query.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
refresh.go Add --server to pulumi plugin install 2019-06-03 09:31:18 -07:00
snapshot.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
update.go Ignore reads in HasChanges. (#3197) 2019-09-06 22:10:34 -07:00