Skip to content
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

rider插件阻止请求无法统计在Prometheus监控数据中 #67

Open
ytwang0320 opened this issue Nov 8, 2023 · 3 comments
Open

Comments

@ytwang0320
Copy link

比如Restriction插件阻止请求,直接响应403,无法统计在Prometheus中。

@StarryVae
Copy link

是希望 rider 插件提供指标相关的功能?目前内部版本已经支持 rider 插件定义自己的指标,可参考 https://github.com/hango-io/rider/blob/main/docs/rider_v2.md 中的 metric 相关的 api。

@ytwang0320
Copy link
Author

希望插件响应状态码,可以记录在对应的route指标上。

@StarryVae
Copy link

StarryVae commented Nov 9, 2023

了解,route 指标后续可以支持下 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants