-
Notifications
You must be signed in to change notification settings - Fork 211
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
feat: add serviceMonitor for apisix-gateway #706
Conversation
b3f6e31
to
dc5ad61
Compare
Please, is it possible to have this reviewed and approved? |
ping @AlinsRan @Revolyssup |
1 similar comment
ping @AlinsRan @Revolyssup |
Guys any feedback about the review ? We would like to enable the ingress controller monitoring ! 🙏 |
I will take a look at this tomorrow and review. Thanks for reminding. |
dc5ad61
to
eda9b9c
Compare
I pushed the updated version, so that linter will be happy this time. |
Hi @Revolyssup, |
eda9b9c
to
5bb8899
Compare
@AlinsRan @Revolyssup I updated the PR:
Please, review the code if this approach is acceptable. I have updated |
Hi Guys, @AlinsRan @Revolyssup could you review the PR shared by @mstefany ? 🙏 Thank you for your time and I wish you a good day |
Metrics' port & URL is defined here (port 9091 & URL
/apisix/prometheus/metrics
).And it doesn't match what's in the serviceMonitor. TargetPort should be
prometheus
, a.k.a. 9091, and path is not specified which defaults to/metrics
which is incorrect.Fact that it's not working in default configuration is visible in my logs: