-
Notifications
You must be signed in to change notification settings - Fork 34
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
Modify metric endpoints #1629
Modify metric endpoints #1629
Conversation
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
base/metrics.go
Outdated
@@ -14,11 +14,11 @@ const ( | |||
// MetricsServerURL is the URL of the metrics server | |||
MetricsServerURL = "METRICS_SERVER_URL" | |||
|
|||
// MetricsPath is the path to the GET /metrics endpoint | |||
MetricsPath = "/metrics" | |||
|
|||
// ExperimentResultPath is the path to the PUT /experimentResult endpoint | |||
ExperimentResultPath = "/experimentResult" |
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 this also be changed to testResult
?
metrics/server.go
Outdated
|
||
// identify the routemap for the application | ||
namespace, name := util.SplitApplication(application) | ||
namespace, name := util.SplitApplication(namespaceApplication) |
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.
this shouldn't be necessary any more. namespace name are namespace, application from a few lines above.
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.
Oop sorry
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
5aa8edd
to
2090f12
Compare
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.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.
lgtm
Fix #1620
Replace #1628