Skip to content
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

Merged
merged 11 commits into from
Sep 8, 2023
Merged

Conversation

Alan-Cha
Copy link
Member

@Alan-Cha Alan-Cha commented Sep 7, 2023

Fix #1620

Replace #1628

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>
@Alan-Cha Alan-Cha mentioned this pull request Sep 7, 2023
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
@Alan-Cha Alan-Cha marked this pull request as ready for review September 7, 2023 20:23
metrics/server_test.go Outdated Show resolved Hide resolved
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"
Copy link
Member

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 ?


// identify the routemap for the application
namespace, name := util.SplitApplication(application)
namespace, name := util.SplitApplication(namespaceApplication)
Copy link
Member

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.

Copy link
Member Author

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>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
Copy link
Member

@kalantar kalantar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kalantar kalantar dismissed their stale review September 8, 2023 17:07

re-reveiwed

@kalantar kalantar merged commit f873bca into iter8-tools:master Sep 8, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: modify metrics endpoints to make more similar
2 participants