pulumi/pkg
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
..
apitype Remove some unused apitype fields (#3057) 2019-08-14 15:26:58 -07:00
backend Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
codegen/python Creation of generator package (#2970) 2019-07-22 17:09:35 -07:00
diag Print a Welcome to Pulumi message (#3145) 2019-08-27 17:19:35 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
npm fix: node_modules typo (#3175) 2019-09-09 23:11:35 +03:00
operations Collect logs from Google Cloud Functions 2019-04-08 09:44:05 -07:00
resource Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
secrets Support additional cloud secrets providers (#2994) 2019-08-02 16:12:16 -07:00
testing Expose update events to ExtraRuntimeValidation. (#3160) 2019-09-06 17:07:54 -07:00
tokens Fix comment about QName regex (#3121) 2019-08-20 14:43:48 -07:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Ignore plugins which are being installed 2019-09-06 13:49:57 -07:00