-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix(helm): Disable service monitor for nginx service #12746
fix(helm): Disable service monitor for nginx service #12746
Conversation
4eef37d
to
d29818b
Compare
Please update the other files listed in the checklist. For Helm chart changes bump the Helm chart version in |
d29818b
to
1c2b5a1
Compare
Makes sense, fixed. |
e9fbfc8
to
157d683
Compare
Anything else needed to move this? |
@JStickler Can you merge this small PR? |
@adinhodovic I'm the technical writer on the team, so I avoid merging code as I'm not a developer. |
Ah, sorry about the ping! |
Is this fine @vlad-diachenko? |
668bea6
to
0febbe0
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.
huge thanks for the contribution, @adinhodovic . please address my comment and we can merge it
0febbe0
to
82bb4be
Compare
fixed @vlad-diachenko! |
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 🥇 thanks for the contribution ❤️
Signed-off-by: Vladyslav Diachenko <[email protected]>
hi, this pr is now causing a yaml validation error
|
Are you adding that key additionally in the values file while it is already being set by default? |
Ah, I am, sorry for the noise. I applied the label manually in my helm values last year b/c I ran into this issue. The error was from my automated ci process. |
No worries, then it's doing what it's supposed to! |
FWIW - this is not ideal... having nginx being scraped (using the patch suggested here: #9522 (comment) is still useful, in to be able to alert when getting HTTP 50x or HTTP 40x from the gateway.. |
Co-authored-by: Vladyslav Diachenko <[email protected]>
As mentioned in #13201 - this fix does not work. |
What this PR does / why we need it:
The service monitor that targets all Loki pods targets nginx as well. Nginx isn't configured for prometheus metrics and the endpoint is 404, which causes alerts that the target is down.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Checklist
CONTRIBUTING.md
guide (required)docs/sources/setup/upgrade/_index.md
production/helm/loki/Chart.yaml
and updateproduction/helm/loki/CHANGELOG.md
andproduction/helm/loki/README.md
. Example PRdeprecated-config.yaml
anddeleted-config.yaml
files respectively in thetools/deprecated-config-checker
directory. Example PR