-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skeleton of a tracer for AWS X-Ray #8526
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm modulo issues of consistency with envoy config practice (config with inlined data) vs AWS sdk practice (config with ref to filename).
I'll let @htuch make the call.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/wait
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/wait
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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