-
Notifications
You must be signed in to change notification settings - Fork 342
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 systemd example for configuring nginx_exporter.service #650
Conversation
when implementing nginx exporter, I was not seeing my nginx stub metrics. When enabling journal logging for the service and checking with "systemctl status nginx_exporter -l" I could see the nginx.scrape-uri was not being parsed correctly. Hency why I couldn't see my stub metrics. After removing both "" I was able to see my metrics
Hi @bruno-espino! Thanks for opening this 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.
Hi @bruno-espino thanks for opening the PR!
Just out of curiosity, which OS/version are you using? I tried this on Ubuntu 23.10 and it's not complaining about the quotes, it's just stripping them out...
Hey @lucacome! |
Hi @brunococinoJC , I will be testing it tomorrow. |
@brunococinoJC thanks for contributing |
when implementing nginx exporter, I used the example under
examples/systemd
but I was not seeing my nginx stub metrics.When enabling journal logging for the service and checking with
systemctl status nginx_exporter -l
I could see thenginx.scrape-uri
was not being parsed correctly. Hence why I couldn't see my stub metrics.After removing both
""
I was able to see my metricsChecklist
Before creating a PR, run through this checklist and mark each as complete.
guide