Skeleton of a tracer for AWS X-Ray#8526
Conversation
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
|
I've changed the file_name to be a DataSource |
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
htuch
left a comment
There was a problem hiding this comment.
Great, LGTM modulo a couple of test asks. The differential fuzzing is optional, but an idea that would make sense long term, in particular if we want to use this elsewhere in Envoy.
/wait
| } | ||
|
|
||
| private: | ||
| std::mt19937 rng_; |
There was a problem hiding this comment.
FYI, this is totally fine for this PR, but for the real implementation, you should obtain randomness via a Runtime::RandomGenerator (I think from factory context), to allow proper dependency injection and deterministic tests.
There was a problem hiding this comment.
I have a reasonable explanation for this. But we'll talk about it in the next PRs
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
|
macos build seems to be stuck. |
|
🐴 hold your horses - no failures detected, yet. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
htuch
left a comment
There was a problem hiding this comment.
Thanks! I'd be keen to see the discussed improvements around glob parsing land, but given this is an opt-in extensions and a skeleton, let's merge and continue to iterate.
|
Is there anything I have to do to get this PR merged? |
|
Don't squash (or force-push); that will happen on merge. Probably we need to re-execute the MacOS tests which have most likely flaked; I'll do that now. |
|
/azp run envoy-macos |
|
Azure Pipelines successfully started running 1 pipeline(s). |
A skeleton tracer to incrementally add support for AWS X-Ray Risk Level: Low Testing: unit tests for functionality in util - the rest of files have no business logic to test yet Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Signed-off-by: Marco Magdy mmagdy@gmail.com
Description:
A skeleton tracer to incrementally add support for AWS X-Ray
Risk Level: Low
Testing: unit tests for functionality in util - the rest of files have no business logic to test yet
Docs Changes: N/A
Release Notes: N/A