-
Notifications
You must be signed in to change notification settings - Fork 54
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
Adding Support For Default DataSource and Removing Monitoring Agent #1095
base: kruize_local_poc
Are you sure you want to change the base?
Adding Support For Default DataSource and Removing Monitoring Agent #1095
Conversation
@shekhar316 Please fix the conflicts. |
ok |
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
@@ -336,6 +336,7 @@ private Memory() { | |||
|
|||
public static class DataSourceConstants { | |||
public static final String DATASOURCE_NAME = "name"; | |||
public static final String DEFAULT_DATASOURCE_NAME = "prometheus"; |
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.
Please keep the naming consistent, this should be DEFAULT_DATASOURCE_PROVIDER
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.
@dinogun It's the name of the datasource
which should be default. Originally, the monitoring agent was always linked to a datasource named "prometheus". Now, "prometheus" is the default name for the default datasource, but it can be changed to something else if desired.
Description
This PR will add the support for setting up the
default datasource
instead of monitoring agent. Default datasource will use the newly implementedDataSourceInfo
class objects.Type of change
How has this been tested?
Using kruize-demo scripts.
Image:
quay.io/rh-ee-shesaxen/autotune:kruize-local-ma-0
Test Configuration
Checklist 🎯
Additional information
Remote Monitoring Demo Logs: https://pastebin.com/8JtWxsi5