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

Prometheus/Grafana integration #17

Closed
GopherJ opened this issue Jul 20, 2020 · 3 comments
Closed

Prometheus/Grafana integration #17

GopherJ opened this issue Jul 20, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@GopherJ
Copy link

GopherJ commented Jul 20, 2020

No description provided.

@nodece nodece self-assigned this Jul 21, 2020
@nodece
Copy link
Contributor

nodece commented Jul 24, 2020

Add Prometheus can collect the number of function calls, response time of function.

It is important for monitoring Casbin.

@GopherJ
Copy link
Author

GopherJ commented Jul 24, 2020

@hsluoyz Yes we can mark it as help wanted it's low priority but I think many people/adopters will probably need this feature to be able to understand better what's happening. For example to respond the following questions easily.

  • what's are the most visited/used ressources?
  • what's the most active user/role?
  • how many policies do we have in every domain?
  • how many time casbin has used to answer every request?
  • number of handled requests per hour/per day?
  • is there a DOS attack happening? what's the memory/cpu usage?

my collegue also asked me if casbin has visualization support

@GopherJ GopherJ changed the title Prometheus integration Prometheus/Grafana integration Jul 24, 2020
@GopherJ
Copy link
Author

GopherJ commented Jul 24, 2020

I may move this to casbin-dashboard issue later because it's better to leave it there

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

Successfully merging a pull request may close this issue.

3 participants