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

metrics #43

Open
ys-d opened this issue Dec 3, 2024 · 3 comments
Open

metrics #43

ys-d opened this issue Dec 3, 2024 · 3 comments

Comments

@ys-d
Copy link

ys-d commented Dec 3, 2024

how to use Prometheus to collect metrics, can give any demo

@daoshenzzg
Copy link
Collaborator

We provide a Prometheus plugin; you can refer to it here:

https://github.com/mgtv-tech/jetcache-go-plugin?tab=readme-ov-file#stats

dashboard like this:

stats

@ys-d
Copy link
Author

ys-d commented Dec 4, 2024

远程缓存的耗时指标好像没有呢?

@daoshenzzg
Copy link
Collaborator

当前 Log 和 Prometheus 组件都仅提供了命中率相关指标统计(分local、remote、both),而且是实例级别的。耗时指标统计目前没有提供。

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