Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@mattrutherford
Copy link
Contributor

@mattrutherford mattrutherford commented Jul 15, 2020

This is a WIP PR that comprises 3 efforts:

  1. Refactor proxy to remove deprecated rental crate, requiring no unsafe code.
  2. Implement tracing Events and hierarchical relationships between spans with each other and also events.
  3. State tracing for Sidecar

In order to test this PR I have merged in changes from #6401 into this branch.

I had also experimented with moving some functionality from client into primitives to allow proxy direct access to span store, but it's not feasible for multiple reasons.

Using this method to generate traces from wasm (tracing Events) has added around 500-600ns overhead (on development machine) compared to current. This is unacceptable overhead IMO and needs resolving. Switching to use channels for span / event processing does not apparently make any difference.

TODO:

  • fix performance regression
  • improve output from events
  • bounds checks and handle possibility of lost spans accumulating
  • add docs
  • code organisation

mattrutherford and others added 30 commits April 27, 2020 07:51
@mattrutherford mattrutherford added the A3-in_progress Pull request is in progress. No review needed at this stage. label Jul 15, 2020
@github-actions github-actions bot added A0-please_review Pull request needs code review. and removed A3-in_progress Pull request is in progress. No review needed at this stage. labels Jul 15, 2020
@mattrutherford mattrutherford added A3-in_progress Pull request is in progress. No review needed at this stage. and removed A0-please_review Pull request needs code review. D2-breaksapi labels Jul 15, 2020
@mattrutherford mattrutherford deleted the matt-state-tracing branch July 15, 2020 05:34
switch to tracing-core in client

check target for wasm spans
@mattrutherford
Copy link
Contributor Author

Closing this in favour of splitting the PR to get some changes done sooner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A3-in_progress Pull request is in progress. No review needed at this stage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants