pulumi/pkg/resource
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
..
config Encrypt secret values in deployments 2019-05-10 17:07:52 -07:00
deploy Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
edit Fix renaming a freshly created stack using the local backend 2019-08-16 13:39:34 -07:00
graph Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00
plugin Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
provider Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
stack Update the JSON representation of customTimeouts in state (#3101) 2019-08-21 01:01:27 +03:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00
asset.go Harden asset and archive deserialization. (#3042) 2019-08-06 16:32:05 -07:00
asset_test.go Correctly handle FileArchives when the filename contains a dot 2019-03-28 13:26:07 -07:00
custom_timeouts.go Update the JSON representation of customTimeouts in state (#3101) 2019-08-21 01:01:27 +03:00
errors.go Add license headers 2018-05-22 15:02:47 -07:00
properties.go Fix conversion of empty array properties. (#3047) 2019-08-07 11:42:40 -07:00
properties_diff.go Fix a panic during property diffing 2019-05-15 16:20:25 -07:00
properties_diff_test.go Fix a panic during property diffing 2019-05-15 16:20:25 -07:00
properties_path.go Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
properties_path_test.go Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
properties_test.go Fix conversion of empty array properties. (#3047) 2019-08-07 11:42:40 -07:00
resource_goal.go Allow users to explicitly disable delete-before-replace. (#3118) 2019-08-20 15:51:02 -07:00
resource_id.go Add license headers 2018-05-22 15:02:47 -07:00
resource_id_test.go Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
resource_operation.go Add support for importing existing resources. (#2893) 2019-07-12 11:12:01 -07:00
resource_state.go Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
stack.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
status.go Partial status for resource providers 2018-07-02 13:32:23 -07:00
urn.go Add license headers 2018-05-22 15:02:47 -07:00
urn_test.go Add license headers 2018-05-22 15:02:47 -07:00