-
Notifications
You must be signed in to change notification settings - Fork 619
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
[occm] API requests & Loadbalancer reconciliation metrics #1178
[occm] API requests & Loadbalancer reconciliation metrics #1178
Conversation
Hi @seanschneeweiss. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build succeeded.
|
Build failed.
|
Build succeeded.
|
/ok-to-test |
/retest |
|
/test cloud-provider-openstack-acceptance-test-csi-cinder |
@ramineni: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Build failed.
|
/test /test cloud-provider-openstack-acceptance-test-csi-cinder |
@ramineni: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test cloud-provider-openstack-acceptance-test-csi-cinder |
@ramineni: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Build succeeded.
|
@seanschneeweiss Fixed the following failure in openlab
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
/lgtm @seanschneeweiss Do you mind adding some doc for this? |
@lingxiankong Should the documentation be added to a new markdown file e.g. /docs/metrics.md or to the existing /docs/using-openstack-cloud-controller-manager.md? Should I create a separate PR? Is there any existing documentation related to this, or maybe a template/guideline? |
limitations under the License. | ||
*/ | ||
|
||
package 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.
I think we might want to move this to a generic location so that other component can benefit it later on
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.
Thank you everyone for reviewing and approving this PR.
Refactoring / moving this to a generic location is handled within #1236.
/approve I think we can do a followup PR and not blocking this.. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc 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 |
@seanschneeweiss please help to create a new PR related the doc and we can follow up discussion there, thanks |
@seanschneeweiss @sbueringer I think this is missed. Could you add the doc on how to use this . Adding new file docs/metrics.md sounds good to me , and link it from the main doc. You could receive more comments once you propose the PR. @lingxiankong do you have any other suggestions? |
Agree with @ramineni, besides, I'd like to see several things in the doc:
|
I will create the PR soon, thank you for the feedback. |
…#1178) * [occm] move metrics to seperate folder By moving the metrics definition to a seperate folder it can be used by pkg/cloudprovider/providers/openstack and pkg/util/openstack. Signed-off-by: Sean Schneeweiss <[email protected]> * [occm] API request and reconcile metrics This commit implements metrics for OpenStack API calls and for loadbalancer reconciliations. Signed-off-by: Sean Schneeweiss <[email protected]> * [occm] rename extension metric to network_extension
What this PR does / why we need it:
This PR implements metrics for loadbalancer reconciliations:
cloudprovider_openstack_reconcile_duration_seconds
cloudprovider_openstack_reconcile_total
cloudprovider_openstack_reconcile_errors_total
and metrics for OpenStack API requests:
openstack_api_request_duration_seconds
openstack_api_requests_total
openstack_api_request_errors_total
Which issue this PR fixes(if applicable):
fixes #912
Special notes for reviewers:
Metrics are exposed to
https://localhost:10258/metrics
.I would recommend to add the following arguments when running OCCM.
Release note:
Sean Schneeweiss [email protected], Daimler TSS GmbH, legal info/Impressum