-
Notifications
You must be signed in to change notification settings - Fork 83
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
Adaptive Load Controller headers #417
Conversation
update from master
merge from upstream
merge from upstream
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
…double Signed-off-by: eric846 <[email protected]>
…variable_setter Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
merge from upstream
…ent.Output turns out not to include the status Signed-off-by: eric846 <[email protected]>
…plugin names, log thresholds only once per session Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
Signed-off-by: eric846 <[email protected]>
…e a reference, add file comments Signed-off-by: eric846 <[email protected]>
/retest |
🐴 hold your horses - no failures detected, yet. |
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.
Complete review now, nothing major just two open discussions.
envoy_package() | ||
|
||
envoy_basic_cc_library( | ||
name = "adaptive_load_controller_include", |
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.
Curious - why are we adding the "_include" suffix which is common for all of these? Since it is the same in all the targets, it probably doesn't add any value. Why not just call this "adaptive_load_controller"? It also makes it easier to figure out what to include when the name of the target matches the name of the library.
Applies to all the targets.
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.
Removed "_include" from all targets.
#include "api/client/service.grpc.pb.h" | ||
|
||
namespace Nighthawk { | ||
namespace AdaptiveLoad { |
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.
Thank you Otto, can you help me understand the reasoning behind it being more convenient? One could argue the exact opposite, since once we introduce the sub-namespace we will have to carry it in all headers when using symbols from the namespace.
We can indeed introduce it, but it would be good to understand what problem we are solving by using a language feature, rather than just using it to match a directory structure. Please feel free to let me know if I misunderstood the comment.
Signed-off-by: eric846 <[email protected]>
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.
Looks good, please merge master and this will be ready for merging.
Signed-off-by: eric846 <[email protected]>
/retest |
🔨 rebuilding |
/retest |
🔨 rebuilding |
Signed-off-by: eric846 <[email protected]>
/retest |
🔨 rebuilding |
@oschaaf status shows you may be still requesting changes here. Can you please indicate what changes or approve if all looks good? |
This is the public C++ API of the Adaptive Load Controller library:
After submitting this PR, I will try to send 4 small independent plugin implementation PRs in parallel, then one larger PR with the main driver that depends on all of them, then a PR with the CLI wrapper.
#416