kubernetes / ingress-nginx

Ingress NGINX Controller for Kubernetes
https://kubernetes.github.io/ingress-nginx/
Apache License 2.0
17.49k stars 8.25k forks source link

Expose 2 more Prometheus metrics if it is possible #9923

Closed luarx closed 1 month ago

luarx commented 1 year ago

What do you want to happen? If it is possible, we would like to have 2 more Prometheus metrics exposed:

Why could this be useful?

Thanks for all your work in this project, you usually say that you are not the standard ingress controller solution, but in my opinion, that is not true, because your important functionatiles have cause that you are an "de facto standard" in K8s community.

longwuyuan commented 1 year ago

If these metrics are disabled by default so as to not impact performance, then it seems like an improvement.

Would you consider submitting a PR, that makes it possible to optionally add + enable these metrics.

luarx commented 1 year ago

Sorry, I think that I expressed wrongly. What I want to say is that those metrics do not exist. So as I am not an expert, I do not know how they could be created :(

longwuyuan commented 1 year ago

ok /help

k8s-ci-robot commented 1 year ago

@longwuyuan: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/kubernetes/ingress-nginx/issues/9923): >ok >/help Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
strongjz commented 1 year ago

/triage accepted /priority backlog /help-wanted /good-first-issue

longwuyuan commented 1 year ago

This requires an expert of prometheus and an expert of nginx to understand this controller's metrics

/remove-good-first-issue

rudy2steiner commented 1 year ago

Let me try to discovery if it possible!

rudy2steiner commented 1 year ago

/assign

luarx commented 6 months ago

Any advance here? 🤞

longwuyuan commented 1 month ago

Hi @luarx ,

We would love to get PRs to add the metrics you mentioned. This update is to state that due to severe shortage of resources, we are even deprecating existing popular features because its hard to support/maintain. Instead the focus is on security & Gateway-API implementation.

So while resolving this with PRs would be most welcome, there is little possibility of allocating resources for this. So there is no action-item here for the project. And its adding to the tally of open issues without a action item.

It would be better to close this issue as it does not track any action item and if anyone wants to contribute in future, then it can be re-opened. WDYT ?

luarx commented 1 month ago

Agree with you, thanks for clarifying @longwuyuan 🙏