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

Add prometheus metrics #76

Open
EvilLord666 opened this issue Sep 20, 2024 · 0 comments
Open

Add prometheus metrics #76

EvilLord666 opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request performance Performance raise issues

Comments

@EvilLord666
Copy link
Member

EvilLord666 commented Sep 20, 2024

For collecting metrics of performance we should add go prometheus. Before this task we should define what type of metrics we should collect. Metric would be listed here after 0.9.2 is finished

We should have 2 sets of metrics:

  1. SRE (site reliability) Golden metrics:
    • Latency - time of request processing (type Histogram) with excluded REST API admin methods call
    • Users (Traffic) - number of active users == number of sessions (type Gauge)
    • Errors - number of 500 errors in Http Response (probably Histogram of 2 values error && no error, consider errors is 500 only, other responses are non error response)
    • Saturation - resource utilization (CPU, memory in Mb and number of goroutines)
  2. Additional metrics (think here about what should we have here)
    • probably sent e-mails count (Gauge)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Performance raise issues
Projects
Status: No status
Development

No branches or pull requests

2 participants