pulumi/pkg/resource/deploy
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
..
deploytest Allow users to explicitly disable delete-before-replace. (#3118) 2019-08-20 15:51:02 -07:00
providers Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
builtins.go Respond to PR feedback 2019-08-15 12:42:51 -07:00
plan.go Implement --policy-pack flag on up and preview 2019-08-12 12:45:48 -07:00
plan_executor.go Batch policy violation reporting for pulumi preview 2019-07-22 20:42:17 -07:00
plan_test.go Retain the SecretsManager that was used to deserialize a deployment 2019-05-10 17:07:52 -07:00
snapshot.go Fix crash when there were multiple duplicate aliases to the same resource. (#2865) 2019-06-23 02:16:18 -07:00
source.go Rename SecretOutputs to AdditionalSecretOutputs 2019-05-10 17:07:52 -07:00
source_error.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_eval.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
source_eval_test.go Allow users to explicitly disable delete-before-replace. (#3118) 2019-08-20 15:51:02 -07:00
source_fixed.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_null.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
source_query.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
source_query_test.go Formally specify querySource with tests 2019-05-02 18:08:08 -07:00
step.go Allow IDs to change during import. (#3133) 2019-08-23 15:00:24 -07:00
step_executor.go Rename SecretOutputs to AdditionalSecretOutputs 2019-05-10 17:07:52 -07:00
step_generator.go Allow users to explicitly disable delete-before-replace. (#3118) 2019-08-20 15:51:02 -07:00
step_generator_test.go Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
target.go Add license headers 2018-05-22 15:02:47 -07:00