-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
discuss: enrich the Available metrics of plugin prometheus #4273
Comments
We can introduce a way to dynamically configure label with Nginx var? |
If using the way to dynamically configure label with Nginx var:
|
It is enough. Keep it simple stupid.
Should be here: apisix/conf/config-default.yaml Line 298 in 83436ee
|
@spacewander Thanks for your advice. I will try it. |
I am interested in this. May I pick it up? |
apache#7549) close apache#4273 Co-authored-by: tzssangglass <tzssangglass@gmail.com>
Issue description
About the plugin prometheus, in the original metric data of APISIX, the number of the available metrics is limited.
In some practical application scenarios, request_method and remote_addr are very useful monitoring metrics.
Is there a plan to enrich the Available metrics,such as adding remote_addr, request_method in Status codes?
Environment
apisix version (cmd: apisix version): 2.5
The text was updated successfully, but these errors were encountered: