-
Notifications
You must be signed in to change notification settings - Fork 345
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
Consolidate Metrics Query and Metrics Proccessor Services #15870
base: develop
Are you sure you want to change the base?
Conversation
2acedb5
to
d49ec7f
Compare
d49ec7f
to
04db1f1
Compare
@@ -53,7 +53,7 @@ private enum AllowedMethod { | |||
Constants.Service.LOG_QUERY); | |||
public static final RouteDestination LOG_SAVER = new RouteDestination(Constants.Service.LOGSAVER); | |||
public static final RouteDestination METRICS_PROCESSOR = new RouteDestination( | |||
Constants.Service.METRICS_PROCESSOR); | |||
Constants.Service.METRICS); |
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.
Replace METRICS_PROCESSOR
with METRICS
in the below code.
@@ -525,7 +525,6 @@ private static List<Module> createPersistentModules(CConfiguration cConf, Config | |||
cConf.set(Constants.Transaction.Container.ADDRESS, localhost); | |||
cConf.set(Constants.Dataset.Executor.ADDRESS, localhost); | |||
cConf.set(Constants.Metrics.ADDRESS, localhost); | |||
cConf.set(Constants.MetricsProcessor.BIND_ADDRESS, localhost); |
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.
Should we bind Metrics service address here?
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.
its already binded
7ba682d
to
e5e4bdc
Compare
e5e4bdc
to
cd4bef4
Compare
|
Metrics Query and Metrics Proccessor runs on the same pod, but consumes 2 cluster IP. This PR consolidates both the services into Metrics saving one cluster IP.
Testing