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 collection profiles #1298
base: master
Are you sure you want to change the base?
Metrics collection profiles #1298
Conversation
/assign @simonpasquier @jan--f Some sections still need to be finished and I still want to polish the text in some parts but consider it a v1 ;) |
Skipping CI for Draft Pull Request. |
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.
Nice work, I left a few comments to start us off.
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.
Very nice start!
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.
Just a few more comments, but I think this looks pretty good. I think the draft status can be removed soon so we can gather feedback from others.
6d34f1c
to
09e5614
Compare
ServiceMonitor examples Signed-off-by: JoaoBraveCoding <jmarcal@redhat.com>
09e5614
to
061c590
Compare
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
Signed-off-by: JoaoBraveCoding <jmarcal@redhat.com>
24e9181
to
719b231
Compare
Inactive enhancement proposals go stale after 28d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Mark the proposal as fresh by commenting If this proposal is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Inactive enhancement proposals go stale after 28d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Mark the proposal as fresh by commenting If this proposal is safe to close now please do so with /lifecycle stale |
Stale enhancement proposals rot after 7d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Mark the proposal as fresh by commenting If this proposal is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten Some thoughts on merging/layering the Collection Profiles featureset with the EP in question. The primary setback I can observe is the fact that the two differ w.r.t. the degree of dynamism they offer. Users are allowed to switch back and forth between profiles, but w.r.t. the EP, they will need to "commit" to one of the Furthermore, since we cannot embed logic into the installer itself ( Finally, every dependent resource that's a part the Collection Profiles featureset, such as rules, alerts, SMs, etc., that components deploy may or may not have the Consequently, there are constraints on embedding logic to handle specific cases such as updating service monitors with the appropriate regex for the currently set All that being said, one way partially to go about this (while respecting the terms imposed) is by defining a subset This is what leads me to believe it's better to keep the two decoupled to harness the most out of each featureset. |
#1555 is changing the enhancement template in a way that will cause the header check in the linter job to fail for existing PRs. If this PR is merged within the development period for 4.16 you may override the linter if the only failures are caused by issues with the headers (please make sure the markdown formatting is correct). If this PR is not merged before 4.16 development closes, please update the enhancement to conform to the new template. |
Inactive enhancement proposals go stale after 28d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Mark the proposal as fresh by commenting If this proposal is safe to close now please do so with /lifecycle stale |
Stale enhancement proposals rot after 7d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Mark the proposal as fresh by commenting If this proposal is safe to close now please do so with /lifecycle rotten |
Rotten enhancement proposals close after 7d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Reopen the proposal by commenting /close |
@openshift-bot: Closed this PR. 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. |
(automated message) This pull request is closed with lifecycle/rotten. The associated Jira ticket, MON-2483, has status "Closed, Done". Should the PR be reopened, updated, and merged? If not, removing the lifecycle/rotten label will tell this bot to ignore it in the future. |
/reopen |
@rexagod: Reopened this PR. 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. |
@rexagod: The 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. |
@JoaoBraveCoding: 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. |
Inactive enhancement proposals go stale after 28d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Mark the proposal as fresh by commenting If this proposal is safe to close now please do so with /lifecycle stale |
Stale enhancement proposals rot after 7d of inactivity. See https://github.com/openshift/enhancements#life-cycle for details. Mark the proposal as fresh by commenting If this proposal is safe to close now please do so with /lifecycle rotten |
The tests cover the following cases: * Apply every collection profile, and check if appropriate metrics are available (or unavailable). * CMO configuration reconcilation after a collection profile is applied is checked within the CMO tests itself. * Prometheus `*monitor` selectors' reconciliation after a collection profile is applied is checked within the CMO tests itself. Refer: openshift/enhancements#1298 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
The tests cover the following cases: * Apply every collection profile, and check if the expected `ServiceMonitor`s are available. * CMO configuration reconciliation after a collection profile is applied is checked within the CMO tests itself. * Prometheus `*monitor` selectors' reconciliation after a collection profile is applied is checked within the CMO tests itself. Refer: openshift/enhancements#1298 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
The tests cover the following cases: * Apply every collection profile, and check if the expected `ServiceMonitor`s are available. * CMO configuration reconciliation after a collection profile is applied is checked within the CMO tests itself. * Prometheus `*monitor` selectors' reconciliation after a collection profile is applied is checked within the CMO tests itself. Refer: openshift/enhancements#1298 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
The tests cover the following cases: * Apply every collection profile, and check if the expected `ServiceMonitor`s are available. * CMO configuration reconciliation after a collection profile is applied is checked within the CMO tests itself. * Prometheus `*monitor` selectors' reconciliation after a collection profile is applied is checked within the CMO tests itself. Refer: openshift/enhancements#1298 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
This PR proposes the addition of the metrics collection profiles feature for the cluster-monitoring-operator
Issue https://issues.redhat.com/browse/MON-3043