-
Notifications
You must be signed in to change notification settings - Fork 52
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
feat(CustomMetrics): Allow Different App to Send Custom Metrics #3211
Conversation
fae6122
to
9859b16
Compare
3edfa26
to
c217dd7
Compare
a4de8af
to
f63ba3c
Compare
b30a9fc
to
200be0b
Compare
31ee44d
to
2e9256a
Compare
1fb8dce
to
840fa60
Compare
b105a31
to
3b57893
Compare
3b57893
to
1cd4ac9
Compare
b67cb3c
to
979581a
Compare
8d27a10
to
dec3f28
Compare
0eee25c
to
dec3f28
Compare
• Abstracted database configuration logic into configureDb function for reuse • Extended configuration to support BindingDb alongside PolicyDb • Updated tests to reflect additional BindingDb configuration • Added binding_db tag to mta.tpl.yaml resources
Quality Gate failedFailed conditions |
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
The description says: "For new bindings - both the configuration and policy json are displayed in the response". This has changed the behaviour of the existing functionality. fixed and released in 14.4.2 |
Previously, only the application sending custom metrics to the autoscaler could be scaled.
The new feature enables users to scale an application based on custom metrics sent by another app (Custom Metrics Producer), This is achieve if:
"metric_submission_strategy.allow_from"
set tobound_app
during the binding processHow It Works
To enable this feature, specify the
metric_submission_strategy.allow_from : "bound_app"
parameter in the configuration object during the binding process with the application to be scaled (as shown below)Binding Configuration (aka.scaling policy)
Bind to Applications
Other Changes
bindingDB
in metricsforwarder service to retrieve binding informationbound_app
andsame_app
(default)