-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
prometheus+grafana using servicemonitor #8186
Conversation
|
Welcome @indhupriya! |
Hi @indhupriya. 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. |
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. |
|
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 Job @indhupriya, please sign the CLA.
/lgtm in general, but would like to have a second opinion
/hold for @longwuyuan, @tao12345666333, @strongjz or @rikatz
/triage accepted
/kind documentation
/priority important-soon
/approve cancel, until change requests are implemented. |
/approve cancel |
|
b372f86
to
11ac6ab
Compare
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.
Please check markdown
If you can put a simple workload and run some traffic, it will help
populate the dashboard. If success, then look forward to completing else
need to fix whatever is broken.
Thanks,
; Long
…On 2/3/22 9:50 PM, Noah Ispas wrote:
***@***.**** commented on this pull request.
------------------------------------------------------------------------
In docs/user-guide/monitoring.md
<#8186 (comment)>:
> @@ -1,11 +1,15 @@
# Prometheus and Grafana installation
+Two different methods to install and configure Prometheus and Grafana are described in this doc.
+- Prometheus and Grafana installation using Pod Annotations. This installs Prometheus and Grafana in the same namespace as NGINX Ingress
+- Prometheus and Grafana installation using Service Monitors. This is more suited for existing Prometheus and Grafana installations that can be configured with NGINX Ingress for scraping the metrics.
ok, so back to the question if the PR is finished for now or if you
want to implement the suggestions from @villesau
<https://github.com/villesau>
—
Reply to this email directly, view it on GitHub
<#8186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGZVWW7J2LWXKZKY54JQMTUZKTMBANCNFSM5MZ56EAA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I made more changes to implement suggestions from @villesau and @longwuyuan I have also repopulated Grafana charts. Please review. |
@indhupriya this looks good and is extremely helpful.
should actually say "servicemonitors" or not, instead of podmonitors. PS - Kindly click the button to resolve earlier review comments |
Actually we set both podMonitorSelectorNilUsesHelmValues and serviceMonitorSelectorNilUsesHelmValues flags to false. There is explanation for both. |
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
/hold cancel
thanks @indhupriya @longwuyuan
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: iamNoah1, indhupriya 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 |
Great work @indhupriya, I wish I had these instructions when setting up prometheus for nginx :) Would have saved a ton of time. |
+1 this is awesome help
Thanks,
; Long
…On Mon, 7 Feb, 2022, 4:07 PM Ville Saukkonen, ***@***.***> wrote:
Great work @indhupriya <https://github.com/indhupriya>, I wish I had
these instructions when setting up prometheus for nginx :) Would have saved
a ton of time.
—
Reply to this email directly, view it on GitHub
<#8186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGZVWU6QQSL4E3K57YJ2OLUZ6OFFANCNFSM5MZ56EAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
* prometheus+grafana using servicemonitor * fix review comments * markdown changes * more formatting changes * fix review comments
Documentation for configuring Prometheus and Grafana using service monitors
What this PR does / why we need it:
Types of changes
Which issue/s this PR fixes
#8170
How Has This Been Tested?
Checklist: