Skip to content

Backend - Instrumentation #13

@Astor

Description

@Astor

Implement instrumentation using Prometheus for the following performance metrics :

  • CPU Usage: Monitor CPU usage to understand how much CPU resources your server is consuming. You can track metrics such as CPU utilization percentage, system, and user CPU time.

  • Memory Usage: Measure memory usage to monitor how much memory your server is using. You can track metrics such as total memory, used memory, free memory, and memory utilization percentage.

  • Garbage Collection: Monitor garbage collection (GC) activity to understand how efficiently your server's memory is managed. Track metrics such as GC pause duration, frequency of GC cycles, and memory reclaimed by GC.

  • File System Usage: Monitor file system usage to ensure that your server has enough disk space and to detect any potential issues with disk space constraints. Track metrics such as disk space usage, available disk space, and disk utilization percentage.

  • Network Activity: Measure network activity to understand how much network bandwidth your server is consuming and to detect any network-related issues. Track metrics such as network input/output (I/O) rates, number of network connections, and network latency.

  • Database Queries: Monitor database performance by tracking metrics related to database queries. Measure metrics such as query execution time, number of queries per second, and database connection pool usage.

  • Error Rates: Monitor error rates to identify any issues or anomalies in your server's operation. Track metrics such as the number of HTTP errors, database query errors, and application-specific errors.

  • Concurrency: Measure concurrency levels to understand how many concurrent requests or tasks your server is handling. Track metrics such as the number of active connections, concurrent HTTP requests, and worker thread usage.

  • Response Time Percentiles: Measure response time percentiles to understand the distribution of response times for different requests. Track metrics such as the 95th percentile response time, 99th percentile response time, and maximum response time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions