pulumi/pkg/resource/plugin
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
..
analyzer.go Implement `GetAnalyzerInfo` in analyzer plugin 2019-07-16 00:58:33 -07:00
analyzer_plugin.go Emit stderr of `npm install` 2019-08-13 12:48:16 -07:00
check.go Add license headers 2018-05-22 15:02:47 -07:00
config_source.go Add license headers 2018-05-22 15:02:47 -07:00
context.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
host.go Implement `--policy-pack` flag on `up` and `preview` 2019-08-12 12:45:48 -07:00
host_server.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
langruntime.go Add nodejs support for query mode 2019-05-02 18:08:08 -07:00
langruntime_plugin.go Use server information from NodeJS host for fetching plugins 2019-06-03 09:31:18 -07:00
plugin.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
provider.go Allow resource IDs to change on reresh steps (#3087) 2019-08-16 21:04:03 +03:00
provider_plugin.go Allow resource IDs to change on reresh steps (#3087) 2019-08-16 21:04:03 +03:00
provider_plugin_test.go Fix up some spelling errors 2019-06-18 15:30:25 -07:00
rpc.go Introduce MarshalOptions.{RejectAsset, RejectArchive} 2019-08-26 15:19:14 -07:00
rpc_test.go Introduce MarshalOptions.{RejectAsset, RejectArchive} 2019-08-26 15:19:14 -07:00