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
manifests: resources required for adding helm metrics in console #601
manifests: resources required for adding helm metrics in console #601
Conversation
Adds a new ServiceMonitor to allow the Helm metrics being scraped from console /metrics endpoint by prometheus-k8s. Closes: https://issues.redhat.com/browse/HELM-235 Reference: openshift#270 Signed-off-by: Allen Bai <abai@redhat.com>
Works with openshift/console-operator#601 to add a console_helm_install_count counter vector metric. This change will increment the counter each time a user installs a Helm chart in the console. Closes: https://issues.redhat.com/browse/HELM-235 Signed-off-by: Allen Bai <abai@redhat.com>
Works with openshift/console-operator#601 to add a console_helm_install_count counter vector metric. This change will increment the counter each time a user installs a Helm chart in the console. Closes: https://issues.redhat.com/browse/HELM-235 Signed-off-by: Allen Bai <abai@redhat.com>
Works with openshift/console-operator#601 to add a console_helm_install_count counter vector metric. This change will increment the counter each time a user installs a Helm chart in the console. Closes: https://issues.redhat.com/browse/HELM-235 Signed-off-by: Allen Bai <abai@redhat.com>
Lifted WIP as the console PR is ready and tested: openshift/console#10194 In summary, in this implementation we host a Prometheus client in the console and instructs the service monitor to scrape on PTAL when you're available @jhadvig @spadgett @dperaza4dustbit. |
Works with openshift/console-operator#601 to add a console_helm_install_count counter vector metric. This change will increment the counter each time a user installs a Helm chart in the console. Closes: https://issues.redhat.com/browse/HELM-235 Signed-off-by: Allen Bai <abai@redhat.com>
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.
/lgtm
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.
One nit otherwise LGTM 👍
Please address the comment so we can tag the PR :)
include.release.openshift.io/self-managed-high-availability: "true" | ||
include.release.openshift.io/single-node-developer: "true" | ||
roleRef: | ||
# for protected endpoints like /metrics, the operator must perform |
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.
# for protected endpoints like /metrics, the operator must perform | |
# for protected endpoints like /metrics, the console backend must perform |
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.
Thanks for the review @jhadvig! Updated.
Signed-off-by: Allen Bai <abai@redhat.com>
Works with openshift/console-operator#601 to add a console_helm_install_count counter vector metric. This change will increment the counter each time a user installs a Helm chart in the console. Closes: https://issues.redhat.com/browse/HELM-235 Signed-off-by: Allen Bai <abai@redhat.com> helm/metrics: update according to code reviews Signed-off-by: Allen Bai <abai@redhat.com> helm/metrics: add metrics for helm release upgrades and uninstalls Signed-off-by: Allen Bai <abai@redhat.com>
Works with openshift/console-operator#601 to add a console_helm_install_count counter vector metric. This change will increment the counter each time a user installs a Helm chart in the console. Closes: https://issues.redhat.com/browse/HELM-235 Signed-off-by: Allen Bai <abai@redhat.com> helm/metrics: update according to code reviews Signed-off-by: Allen Bai <abai@redhat.com> helm/metrics: add metrics for helm release upgrades and uninstalls Signed-off-by: Allen Bai <abai@redhat.com>
Works with openshift/console-operator#601 to add a console_helm_install_count counter vector metric. This change will increment the counter each time a user installs a Helm chart in the console. Closes: https://issues.redhat.com/browse/HELM-235 Signed-off-by: Allen Bai <abai@redhat.com> helm/metrics: update according to code reviews Signed-off-by: Allen Bai <abai@redhat.com> helm/metrics: add metrics for helm release upgrades and uninstalls Signed-off-by: Allen Bai <abai@redhat.com>
/retest |
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.
/lgtm
/approve
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dperaza4dustbit, jhadvig, zonggen 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-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
8 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
It seems like this PR is dependent on the metrics PR on console side (openshift/console#10194). Once the console change is merged and new image is built, the warning alert should be resolved. Tested with applying manifest in this PR, using default console image. As I changed to my console image with metrics change, the |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/hold lets wait for openshift/console#10194 |
/hold for approvals |
/label docs-approved |
/label qe-approved |
/label px-approved |
/unhold |
/retest |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest-required Please review the full test history for this PR and help us cut down flakes. |
Adds a new ServiceMonitor to allow the Helm metrics being scraped from
console
/metrics
endpoint byprometheus-k8s
.Closes: https://issues.redhat.com/browse/HELM-235
Reference: #270
Signed-off-by: Allen Bai abai@redhat.com