-
Notifications
You must be signed in to change notification settings - Fork 55
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
[Metrics] Add metrics validation in integration test #413
[Metrics] Add metrics validation in integration test #413
Conversation
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
cc - @courageJ |
47382f1
to
80dcdc8
Compare
@@ -57,7 +66,8 @@ import ( | |||
) | |||
|
|||
const ( | |||
port = runserver.DefaultGrpcPort | |||
port = runserver.DefaultGrpcPort | |||
metricsPort = 8888 |
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.
nit: Can we define a DefaultMetricsPort as well?
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.
The default port 9090
used by metrics is already in use in the integration test so I picked a random port..
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.
Ideally we should test the same metrics endpoint as in production. Can you add a TODO here to follow up on setting up correct auth in integration test and test the "real" metrics endpoint?
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.
I add a comment in #326 (comment) to make sure we don't close the issue until it is improved.
Start by adding request total metrics, more validation will be added in follow up. kubernetes-sigs#326
80dcdc8
to
5d78491
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, JeffLuoo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Start by adding request total metrics, more validation will be added in follow up.
#326