pulumi/pkg/backend
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
..
display Expose update events to ExtraRuntimeValidation. (#3160) 2019-09-06 17:07:54 -07:00
filestate Check project existence during pulumi new 2019-08-23 09:09:54 +02:00
httpstate Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
state Add license headers 2018-05-22 15:02:47 -07:00
apply.go Don't print `error` prefix when a confirmation prompt is declined 2019-03-26 15:17:18 -07:00
backend.go Check project existence during pulumi new 2019-08-23 09:09:54 +02:00
backend_test.go Check project existence during pulumi new 2019-08-23 09:09:54 +02:00
errors.go Add a link to docs for the 409 Conflict error message (#3207) 2019-09-10 13:25:08 -07:00
mock.go Check project existence during pulumi new 2019-08-23 09:09:54 +02:00
policypack.go Add `pulumi policy apply` command 2019-07-16 00:58:33 -07:00
snapshot.go Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
snapshot_test.go Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
stack.go Allow using the passphrase secrets manager with the pulumi service 2019-05-10 17:07:52 -07:00
updates.go Remove the GitHubLogin and GitHubRepo update metadata keys (#2732) 2019-05-29 11:22:59 -07:00