pulumi/pkg/util
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
..
archive Fix small bug in untar code 2019-08-07 17:06:57 -07:00
buildutil Prepare for the v1.0.0-beta.1 release. (#3079) 2019-08-13 11:41:32 -07:00
cancel Add license headers 2018-05-22 15:02:47 -07:00
ciutil Add support for detecting Jenkins CI env vars. (#3039) 2019-08-09 12:53:51 -07:00
cmdutil Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
contract Add license headers 2018-05-22 15:02:47 -07:00
fsutil Move planResult#Chdir into fsutil 2019-05-02 18:08:08 -07:00
gitutil Ekrengel/fix azure urls (#2709) 2019-05-08 09:25:59 -07:00
httputil Fix httputil.DoWithRetry. (#1555) 2018-06-21 11:06:54 -07:00
logging Replace regex with a replacer 2019-08-19 08:28:34 +02:00
mapper Add license headers 2018-05-22 15:02:47 -07:00
result Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
retry Merge pull request #1358 from pulumi/retry-bugs 2018-06-01 17:11:23 -07:00
rpcutil Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
testutil Add GitLab CI support (#2013) 2018-10-02 16:08:03 -07:00
tracing Do not depend on backend package from client package 2019-05-10 17:07:52 -07:00
validation Fix 'pulumi new' to support creating stacks in an org (#2950) 2019-07-22 10:12:26 -07:00