-
Notifications
You must be signed in to change notification settings - Fork 202
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
Enable prometheus metrics for controllers #609
Enable prometheus metrics for controllers #609
Conversation
4068d89
to
a63dd19
Compare
/test e2e-openstack |
/hold cancel |
@Danil-Grigorev can you please coordinate with openstack/metal3/ovirt providers so they are aware of this? |
/retest |
/test e2e-baremetal |
@Danil-Grigorev: 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. |
- Include PR openshift/machine-api-operator#609 introducing metrics support
- Include PR openshift/machine-api-operator#609 introducing metrics support
- Include PR openshift/machine-api-operator#609 introducing metrics support
- Include PR openshift/machine-api-operator#609 introducing metrics support
#640 depends on this PR. |
how do we know this work? |
@Danil-Grigorev Looks like at this point we are just waiting on the baremetal PR to merge for this to be ready? That PR needs a rebase presently, can you work to try and get that merged please Also, have you taken this for a test run on a real cluster? Would be good to get some proof in the description of this PR that we are seeing metrics coming through (screenshot from prometheus?) |
I'll put the screenshots soon. The main proof that the code is functional, is that the CI tests expect all created serviceMonitor endpoints to be healthy. If the port isn't exposed, it would return 503 on every metrics collection request, thus failing the tests. |
That doesn't necessarily mean that we are exposing metrics there, we could just be displaying an nginx welcome page for all the E2E tests know 😉 It's good to be in a habit of manual testing with features like this, while our test suites are reasonably thorough, there's a lot of stuff they can't test. Also, while they're quite flaky at the moment, it helps if you've manually tested to know if it's a CI issue or it is your issue |
a63dd19
to
1515a41
Compare
It is true, but you could manually verify it at any moment. Here is an example of AWS metrics before merging openshift/cluster-api-provider-aws#324. This is also displayed in CI with tests Sample metric firing, captured by the |
@enxebre @JoelSpeed I extended the description with a demo for introduced merics running in a GCP cluster. |
This change ensure compatibility with serviceMonitor resource introduced in openshift/machine-api-operator#609
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed 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 |
/retest |
/test e2e-openstack |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@Danil-Grigorev: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
This change ensures compatibility with the ServiceMonitor resource introduced in [1] [1] openshift/machine-api-operator#609 Signed-off-by: Gal-Zaidman <gzaidman@redhat.com>
this is needed to pull in the change to metrics that happened in MAO: openshift/machine-api-operator#609
This is to comply with openshift/machine-api-operator#609. Without this change alerts are firing as nobody is listening on port 8081 and the metrics can't be exported.
this is needed to pull in the change to metrics that happened in MAO: openshift/machine-api-operator#609
This is to comply with openshift/machine-api-operator#609. Without this change alerts are firing as nobody is listening on port 8081 and the metrics can't be exported.
this is needed to pull in the change to metrics that happened in MAO: openshift/machine-api-operator#609
This is to comply with openshift/machine-api-operator#609. Without this change alerts are firing as nobody is listening on port 8081 and the metrics can't be exported.
Enables functionality introduced in #590
Depends on
Demo:
![metrics-stuff](https://user-images.githubusercontent.com/32226600/87791648-e72b6900-c842-11ea-90b7-4967b0d06fb5.gif)